fix(ui): opacity reset value incorrect

This commit is contained in:
psychedelicious 2024-08-28 16:03:48 +10:00
parent a5b038a1b1
commit 48ed4e120d

View File

@ -57,7 +57,7 @@ const marks = [
mapOpacityToSliderValue(1),
];
const sliderDefaultValue = mapOpacityToSliderValue(100);
const sliderDefaultValue = mapOpacityToSliderValue(1);
const snapCandidates = marks.slice(1, marks.length - 1);