fifengine / fifengine-demos

GNU Lesser General Public License v2.1
7 stars 6 forks source link

rio_de_hola - cannot zoom in with mouse wheel #10

Closed prock-fife closed 7 years ago

prock-fife commented 7 years ago

For some reason I cannot zoom in with the mouse wheel but I can zoom out. I investigated this quickly and determined that the mouse wheel moved up event isn't been triggered.

prock-fife commented 7 years ago

Seems that widgets handle the mouse wheel up event no issues. Could it be fifechan is eating the event somehow?

Niektory commented 7 years ago

OK, this is bizarre. I've tried a bunch of things and determined that this bug triggers when a widget is placed at coordinates (0,0). In this case it's rootpanel. If it's moved somewhere else the wheel works correctly.

prock-fife commented 7 years ago

nice catch... I cant see anything in FIFE that would prevent that event from being sent to the gui managers. Must be a fifechan bug or perhaps something in pychan.

helios2000 commented 7 years ago

Fixed with https://github.com/fifengine/fifengine/commit/dad07deb991fa366480948bf64545ef81fafbbf4