Support smooth scroll and horizontal scroll

note that this changes Scroll mousebinds from taking a "button"
attribute to taking a "direction" attribute
This commit is contained in:
bi4k8 2022-11-09 05:18:14 +00:00 committed by Johan Malm
parent 6164ba73ff
commit 2b753a98b8
7 changed files with 119 additions and 20 deletions

View file

@ -301,10 +301,10 @@
<mousebind button="Middle" action="Press">
<action name="ShowMenu"><menu>root-menu</menu></action>
</mousebind>
<mousebind button="Up" action="Scroll">
<mousebind direction="Up" action="Scroll">
<action name="GoToDesktop" to="left"/>
</mousebind>
<mousebind button="Down" action="Scroll">
<mousebind direction="Down" action="Scroll">
<action name="GoToDesktop" to="right"/>
</mousebind>
</context>