Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for creating instances by dropping objects from objects list #650
Add drag'n'drop from objects list.
referenced this pull request
Sep 16, 2018
This will be very very good for touch interfaces imo. Its definitely more intuitive to add instances like that.
I think @zatsme means that because it is still changing the order in the list, while the drag is outside of the list- that is a bit distracting
It's more complicated, unfortunately. The reordering by drag'n'drop is done by the list. When dragging an object, this drag'n'drop is activated.
I'm thinking that we should almost have no reordering by drag'n'drops of lists by default, and have an option in context menu called "Reorder". When clicked, the list switch to reordering (with drag handles on the left, like the list of layers) and things can be drag'n'dropped (only in the list).
What do you think? It's a pattern that is commonly used on mobile (you activate an option showing drag handle on the left of items in a list, that you can move). But it would requires reworking quite a lot of lists (resources editor, groups, objects list) so that it's consistent everywhere.
You talk about handles as for layers why not put this handle by default, then the other part would be used for the slide placed in the scene.
Because a button checked to activate the move is one more button. The fewer clicks, the simpler it is, the more visual, the simpler it is too.
Otherwise I agree with blurymind, if this is too complicated let's leave it as it is, it doesn't bother too much, let's wait for user feedback to change if it doesn't work.
@Bouh Yes your mockup looks right, that would be like this. I was just concerned that this was taking too much space on screen.
Anyway for now I'll let this as is, as it's still an improvement over the current situation (even if it's a bit disturbing to see the objects moves when you drag'n'drop, should not be too much of a problem).