ISSUE-021 - Percentage indicator has been added. Slider can now be disabled.
I ran into too many issues with the percentage value being buggy when the overlay wasn't visible. I'm still running into issues where useMeasure isn't populating fast enough and the left prop isn't being set correctly.
This commit is contained in:
1 parent
daae51e06d
commit
d4f8e9bffe
3 files changed
+38
-7
No files matched your search
@@ -54,6 +54,7 @@ export function OverlayControl() {
|
||||
<ProgressSlider
|
||||
value={currentOverlayItem?.opacity ?? 1}
|
||||
onChange={onChangeOpacity}
|
||||
disabled={!visible}
|
||||
/>
|
||||
</Stack>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user