Skip to content

gl2d changing dragmode doesn't take effect immediately #3648

Closed
@alexcjohnson

Description

@alexcjohnson

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.

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions