Skip to content

Adds a client-side setting that disables mouse wheel control for sliders in Foundry VTT.

License

Notifications You must be signed in to change notification settings

mrkwnzl/disable-mouse-wheel-sliders-foundryvtt

Repository files navigation

Disable Mouse Wheel Control for Sliders

GitHub Latest Release GitHub Downloads Latest GitHub All Releases Support

This module adds a client-side setting that disables mouse wheel controls for sliders & numerical input fields in Foundry VTT. This helps when you tend to accidentally change the sliders or input values in the various settings, and especially when you try to scroll through long playlists but change the volume of the tracks instead.

Note: It’s not enough to activate this module. You also have to enable the settings in the Module Settings in order for them to take effect. This is because as a client-side setting (that is each player can set it up to personal preference) I thought it would be best to default to the default Foundry behavior.

Support

I appreciate any feedback and questions. You can reach me on GitHub and Discord (@mrkwnzl). If Disable Mouse Wheel Control for Sliders in Foundry VTT makes your games more accessible and fun, I’m grateful for your support:

Buy Me A Coffee

Credits

Mouse0270 (E-Mail | Patreon | Ko-fi) supplied code that removed the need to reload when the module settings are changed and that enables ctrl and cmd as the possible escape keys.

About

Adds a client-side setting that disables mouse wheel control for sliders in Foundry VTT.

Resources

License

Stars

Watchers

Forks