haxeui / haxeui-core

The core library of the HaxeUI framework
http://haxeui.org
MIT License
340 stars 70 forks source link

fix ScrolView not respecting ScrollPolicy.NEVER #590

Closed inc0der closed 5 months ago

inc0der commented 5 months ago

This will make it so the mouse wheel and keyboard events do not scroll the contents of a ScrollView when it's scroll policy is set to never.

Not sure if this is the way you would want it done but it does work in my testing. haxeui-core is a large codebase so I'm not sure if I missed an oppurtunity to do it another, possibly simpler way.