Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blocks generated from the palette now does not generate behid the pal…
…ette The new blocks now generated by using the palette now does not generate behind the palette. Gets generated at an other location on the canvas after clicked "Fixes sugarlabs#3175"
- Loading branch information
b0a84dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it, and it puts all the newly generated blocks in the middle of the screen. I don't think that's not entirely useful, do you, @YashTote ?
I thought it might just place them beside the palette (to its right), but the same height that they are now. WDYT?
b0a84dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do that too, I just need to change the Y- co-ordinate. But there is an issue with the flow blocks. As @walterbender pointed it out in https://github.com/sugarlabs/musicblocks/pull/3179, there is an issue with flow blocks. I have been working on resolving it but unable to find relevant code in the codebase to modify. If you have any suggestions to where I can find the code to solve this overlapping issue, please let me know.