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

Drag drop improvements #606

Merged
merged 3 commits into from
Oct 17, 2013

Conversation

johnhaddon
Copy link
Member

This addresses everything discussed in #593.

This makes it easier to see that you're about to accidentally drag and drop the wrong thing - the root cause of which will be fixed in upcoming commits.
This was causing trouble for users who were accidentally dragging and dropping a single line from a PathVectorDataPlugValueWidget onto itself, thus removing all the other lines. This addresses the underlying problem which motivated GafferHQ#593.
The Widget.dragBeginSignal() is now only emitted if the mouse has been moved a certain distance since being clicked. This reduces accidental drags.

Fixes GafferHQ#593.
andrewkaufman added a commit that referenced this pull request Oct 17, 2013
@andrewkaufman andrewkaufman merged commit cc8ebf1 into GafferHQ:master Oct 17, 2013
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

Successfully merging this pull request may close these issues.

2 participants