Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - change order of parameters of custom block #2990

Open
ggenije opened this issue Mar 14, 2023 · 0 comments
Open

Feature request - change order of parameters of custom block #2990

ggenije opened this issue Mar 14, 2023 · 0 comments

Comments

@ggenije
Copy link

ggenije commented Mar 14, 2023

Imagine you have next case of blocks, a custom block which renders specific sprite at specific coordinates with specific color effect
DrawEntity1

You decided that it would make more sense that position input should entered before color input.
Currently your only options is delete that input and then add it at the end.
Two problems occurs:

The values of previous inputs gets deleted (or if there are blocks in argument inputs they get popped out)

DrawEntity2

And the second problem is if you want to for example to move type between position and color, so the position is first and then type and then color, you will have to delete type, then delete color, then add type, and add color. This will get as problematic as you have more parameters. The main problem is that your current arguments inputs get "invalued" as described before.

So my suggestion is:
When selecting any parameter (or text) inside custom block edit menu, draw two arrows (left and right) below that (similarly as trash bin is upwards, arrows should be downwards).
So when you press left arrow parameter or text gets left and vice versa for right.
That will solve this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant