Replies: 3 comments 1 reply
-
I'm pretty sure you're mis-interpreting what that setting is. That setting is the increments possible on a slider - so a value of 5 in there would mean that the value could only go up in 5's, so it would never move from 25 to 28, it'd go to 30. What you're doing through your action is making it scroll. That's a separate thing, and it's expected to move it by larger increments to allow you to rapidly change (scroll) values. I suspect there is nothing you can do to change that behaviour, it's more an OS thing than an Artisan thing... |
Beta Was this translation helpful? Give feedback.
-
The behavior seems to be very OS dependent. Internally those sliders have two configuration, singleStep and pageStep. The singleStep is set by the Artisan slider configuration to 1, 5 or 10. The pageStep is automatically set to 10 if singleStep is 1 or 5 and 20 otherwise. The pageStep is applied if using the page up/down keys, the singleStep is applied if using the cursor up/down keys. A click to the sliders bar on macOS moves the slider to the closest singleStep position (so if singleStep is 5 this is 55 if clicked on position 53). This behavior seems to be different on Windows. Nothing we can do about. |
Beta Was this translation helpful? Give feedback.
-
Ah, interesting difference between the OS's there. I appreciate the background on this.
…-David
From: Marko Luther ***@***.***>
Sent: Thursday, July 4, 2024 10:37 PM
To: artisan-roaster-scope/artisan ***@***.***>
Cc: oldsparks ***@***.***>; Author ***@***.***>
Subject: Re: [artisan-roaster-scope/artisan] 2.10.4, Slider steps on single left click from touchpad or touchscreen do not match settings. Windows 11. (Discussion #1610)
The behavior seems to be very OS dependent. Internally those sliders have two configuration, singleStep and pageStep. The singleStep is set by the Artisan slider configuration to 1, 5 or 10. The pageStep is automatically set to 10 if singleStep is 1 or 5 and 20 otherwise. The pageStep is applied if using the page up/down keys, the singleStep is applied if using the cursor up/down keys. A click to the sliders bar on macOS moves the slider to the closest singleStep position (so if singleStep is 5 this is 55 if clicked on position 53). This behavior seems to be different on Windows. Nothing we can do about.
-
Reply to this email directly, view it on GitHub<#1610 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BJC5VP5R43IPCRQEKG2L76TZKY5G7AVCNFSM6AAAAABKMOG7X2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSNRUHEYTE>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
I've found that despite a slider step set to 5 or 1, when the slider is clicked once above or below the horizontal bar, the value jumps by 10. The slider steps work as defined if it is selected and dragged up or down. So a slider set to single steps with a zero to 100 range can be set to 62 for instance, but then if a single left click above or below the bar the slider will jump to 72 or 52.
I am using either a touchpad or the touchscreen. I have not tried with a mouse as I no longer even own a mouse.
Beta Was this translation helpful? Give feedback.
All reactions