Try / OpenGothic

Reimplementation of Gothic 2 Notr
MIT License
1.07k stars 78 forks source link

fixed camera zooming out on repeated 0 value events #571

Closed ezamelczyk closed 3 months ago

ezamelczyk commented 3 months ago

On macOS using trackpad system sends a lot of events with deltaY=0 and made it impossible to zoom back in after zooming out.

Try commented 3 months ago

Hi, @ezamelczyk and thanks for PR!

I don't think it makes any sense to emit event for deltaY==0 in first place - this fix should be moved to Tempest::EventDispatcher

Try commented 3 months ago

fixed on Tempest level