Commit Graph

11 Commits (8e6b9c7308cce687914e97b9fb3f1a6550d82c68)

Author SHA1 Message Date
thyttan 8e6b9c7308 Slider: add ability to limit drag area
... of the sliders drag handler.
2023-10-17 22:49:31 +02:00
thyttan 14dd20791f Slider: fix dy not initialized for increment mode 2023-10-17 22:49:31 +02:00
thyttan ef650f5359 Slider: list currLevel among the constants 2023-10-17 22:49:31 +02:00
thyttan 9e978b2c5b Slider: change to only add required parts
... depending on how the slider is configured when initializing.
Assumed to reduce ram use, have not tested to see if it actually is an
improvement in rem use or general performance in practice.
2023-10-17 22:49:31 +02:00
thyttan 94074304dc Slider: draw directly when starting auto update
... if the slider should be drawn. Otherwise will just keep track of
position to draw later.
2023-10-17 22:49:31 +02:00
thyttan d157f51b50 Slider:add var containing the app to load on error 2023-10-17 22:49:31 +02:00
thyttan 5df5f56888 Slider: hide slider while still auto incrementing 2023-10-17 22:49:31 +02:00
thyttan 5b19330fee Slider: option to set border size 2023-10-17 22:49:31 +02:00
thyttan 9f7b65892e Slider: make drawing borders optional 2023-10-17 22:49:31 +02:00
thyttan 873fcca251 Slider: add callback on auto progress 2023-10-17 22:49:31 +02:00
thyttan c24499df6d SliderInput: change name to "Slider.js" 2023-10-17 22:49:31 +02:00