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

Don't allow nudging delta to grow past min/max clipping points #19

Open
peterflynn opened this issue Nov 24, 2013 · 0 comments
Open

Don't allow nudging delta to grow past min/max clipping points #19

peterflynn opened this issue Nov 24, 2013 · 0 comments

Comments

@peterflynn
Copy link
Owner

  1. Start with a value like #abc
  2. Nudge up (Shift+Alt+Up) until you hit #fff
  3. Nudge up five more times
  4. Nudge down

Result: nothing changes. You have to nudge down through five no-ops before the value starts changing again.

This is because the nudge code keeps inc/decrementing the scrubState delta past the clipping point, since it has no knowledge of what clipping is going on. This behavior makes sense for mouse dragging, but not for keyboard nudging.

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