Coder Social home page Coder Social logo

xdy / disable-mouse-wheel-sliders-foundryvtt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrkwnzl/disable-mouse-wheel-sliders-foundryvtt

0.0 0.0 0.0 41 KB

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

License: MIT License

JavaScript 100.00%

disable-mouse-wheel-sliders-foundryvtt's Introduction

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.

disable-mouse-wheel-sliders-foundryvtt's People

Contributors

mrkwnzl avatar mouse0270 avatar plasticmohawk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.