Open
Description
I'm sorry I don't know the proper etiquettes to report bugs. I've tracked down a bug that doesn't allow me to process scroll events with proper direction.
In these two lines
garden.matplotlib/backend_kivy.py
Line 1120 in 121788c
garden.matplotlib/backend_kivy.py
Line 1172 in 121788c
if 'button' in touch.profile and touch.button in ("scrollup", "scrolldown",):
self.scroll_event(x, y, 5, guiEvent=None)
the scroll direction is encoded in the step size sign, but both directions are set to +5.
That conflicts with the convention in "backend_bases.py" L1775
if step >= 0:
self._button = 'up'
else:
self._button = 'down'
I fixed my local copy, but not sure how to proceed on github.
Metadata
Assignees
Labels
No labels
Activity