1
0
Fork 0

🐛 Fixed timing issue in SA slider

This commit is contained in:
Joost De Cock 2019-05-10 09:43:37 +02:00
parent 1ce50efed1
commit fed77b737b

View file

@ -46,9 +46,10 @@ const DraftSettingSa = props => {
// previous one instead
if (!isNaN(newValue)) {
setSaValue(newValue);
setCustomValue(newValue);
if (evt.type !== "mousemove") props.updateValue("sa", newValue);
} else {
if (evt.type !== "mousemove") props.updateValue("sa", newValue);
props.updateValue("sa", customValue);
}
};