Skip to content

Conversation

mdtusz
Copy link
Contributor

@mdtusz mdtusz commented Jan 18, 2016

Fixes #177. The drag mode moveFn isn't changed when the mode is changed, but after the drag event itself, so the pan drag action wasn't visible until mouseup. There doesn't seem to be a good clean way to do this without repeating code, so I have just made a call to Fx.init. Because this is only on mode change, it shouldn't be an issue to run init again.

@etpinard
Copy link
Contributor

Beautiful. Thanks!

💃

mdtusz added a commit that referenced this pull request Jan 18, 2016
@mdtusz mdtusz merged commit f11f116 into master Jan 18, 2016
@mdtusz mdtusz deleted the pan-mode-drag-bug branch January 18, 2016 18:19
@mdtusz mdtusz changed the title Add init step when changing dragmode Fix pan mode drag delay Jan 19, 2016
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