🐛 Fixed timing issue in SA slider
This commit is contained in:
parent
1ce50efed1
commit
fed77b737b
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue