these methods dont start eye tracking, so pop-zooms will always zoom in on the same spot every time.
cause/solution:
the cause is clear when we look at the definition of toggle_zoom_mouse() in resources/talon_plugins/eye_zoom_mouse.py:
def toggle_zoom_mouse(state):
if state:
zoom_mouse.enable()
else:
zoom_mouse.disable()
sync_tracker()
toggle_zoom_mouse() calls sync_tracker(). using enable() and disable() directly does not. i was able to fix this by just moving the sync_tracker() call into both enable() and disable()
platform: Linux
affected methods:
problem:
these methods dont start eye tracking, so pop-zooms will always zoom in on the same spot every time.
cause/solution:
the cause is clear when we look at the definition of
toggle_zoom_mouse()
inresources/talon_plugins/eye_zoom_mouse.py
:toggle_zoom_mouse()
callssync_tracker()
. usingenable()
anddisable()
directly does not. i was able to fix this by just moving thesync_tracker()
call into bothenable()
anddisable()