Skip to content

gl2d changing dragmode doesn't take effect immediately #3648

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

Closed
alexcjohnson opened this issue Mar 18, 2019 · 0 comments
Closed

gl2d changing dragmode doesn't take effect immediately #3648

alexcjohnson opened this issue Mar 18, 2019 · 0 comments
Assignees
Labels
bug something broken

Comments

@alexcjohnson
Copy link
Collaborator

Changing dragmode in the modebar doesn't take effect until a full redraw (autoscale, for example).

  • Open https://codepen.io/etpinard/pen/mojEWY?editors=111
  • Change from zoom to pan
  • Try to pan - you actually zoom
  • Click the autoscale, zoom in, or zoom out button to trigger a redraw
  • Now you can pan - but if you change to zoom you'll be stuck panning.
@alexcjohnson alexcjohnson added the bug something broken label Mar 18, 2019
@etpinard etpinard self-assigned this Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

2 participants