-
Notifications
You must be signed in to change notification settings - Fork 153
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
Added new selection ‘Move’ mode #689
Conversation
One issue I'm having is that if I click outside a ROI, then everything works fine but there is a small delay because it re-computes the subset anyway. @ChrisBeaumont - do you have any suggestions for how to short-circuit things in the case where I click outside the region when in move mode? (if not, I'll dig into the code) |
The move mode doesn't feel like the other edit subset modes for me for a
If the intention is to toggle between scrubbing and redefining subsets, On Friday, July 3, 2015, Thomas Robitaille notifications@github.com wrote:
|
@ChrisBeaumont - thanks for reviewing this and for the insight. I agree that this is a bit different to a mode. I like the suggestion of having a modifier key for switching to scrubbing as opposed to backspace for clearing selections. I'll look into it. |
4427fce
to
b32294b
Compare
@ChrisBeaumont - thanks for your suggestion, I think the code is nicer now. I decided to use the control key for now, since shift, option, and command already have common meanings with selections that we may want to implement in glue some day (i.e. what we were doing in bermuda). Would you be happy with this implementation? |
@ChrisBeaumont - just a small question: why does the circular selection appear to work in pixel coordinates while others appear to work in data coordinates? |
They should probably all work in pixel coordinates, because a circle on the On Sunday, July 5, 2015, Thomas Robitaille notifications@github.com wrote:
|
…ubbing would stop until user went over region again.
@ChrisBeaumont - ok I'll open another issue for that. I'll try and find some examples where the effects would be noticeable to try and fix this. |
@ChrisBeaumont - ok, thanks! This PR now works nicely (there was a subtle bug I introdued that was causing what looked like slowness/lagging in the scrubbing) Once this passes, I'll merge it later this evening or tomorrow if there are no objections. |
Added new selection ‘Move’ mode
Only because somewhere I was mentioned, but I was on vacation and then dealing with the resulting work-catchup, but wanted to drop... 👍 |
Fixes #688 by adding a dedicated 'Move' mode for selections which is not enabled by default.