enthought / enthought/chaco

drag_zoom.py need save current mouse location to _prev_x & _prev_y

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
305
Forks
97
PR merge metrics
No merged PRs in 30d

Description

Because dragging() doesn't save current mouse location, the axis range will change very quickly when mouse dragging.

the following two lines should be appended to dragging()

self._prev_x = event.x
self._prev_y = event.y

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.