mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 12:19:03 +08:00
Stop simulation after pressing Up or Down in simulation layer textfield
CURA-5725
This commit is contained in:
parent
e5778be887
commit
f33576cc81
@ -195,6 +195,8 @@ Item {
|
||||
|
||||
// set the slider position based on the upper value
|
||||
function setValue(value) {
|
||||
sliderRoot.manuallyChanged = true
|
||||
|
||||
// Normalize values between range, since using arrow keys will create out-of-the-range values
|
||||
value = sliderRoot.normalizeValue(value)
|
||||
|
||||
@ -292,6 +294,8 @@ Item {
|
||||
|
||||
// set the slider position based on the lower value
|
||||
function setValue(value) {
|
||||
sliderRoot.manuallyChanged = true
|
||||
|
||||
// Normalize values between range, since using arrow keys will create out-of-the-range values
|
||||
value = sliderRoot.normalizeValue(value)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user