hhyyrylainen / Leviathan

Leviathan Game Engine
Other
17 stars 8 forks source link

Fix GUI scroll input events #8

Closed hhyyrylainen closed 5 years ago

hhyyrylainen commented 6 years ago

For some reason CEF doesn't want to react to scroll events when the scrollable part of the GUI doesn't take up the entire screen.

Maybe sending mouse position events or something before the scroll would make it work. A workaround could maybe be made with JavaScript forcing scrolling when a scroll event is sent to the GUI.

Resolves this issue: https://github.com/Revolutionary-Games/Thrive/issues/603

hhyyrylainen commented 5 years ago

Hopefully fixed in this commit: https://github.com/hhyyrylainen/Leviathan/commit/498adde221fd900af21f4b2aff60a5e7b5610e6e