ISSUE-021 - Simplified the ProgressSlider, dropping the container component and instead letting the entire progress bar be dragged.
This commit is contained in:
1 parent
8170ba3f86
commit
daae51e06d
3 files changed
+16
-31
No files matched your search
@@ -12,10 +12,8 @@ import {
|
||||
} from "../../../features/overlayTool/overlayToolSlice";
|
||||
|
||||
import { Toggle } from "../../Common/Inputs/Toggle";
|
||||
import { MockupBlock } from "../../Common/MockupBlock.styled";
|
||||
import { SlotSelector } from "../../Common/Inputs/SlotSelector";
|
||||
import { ProgressSlider } from "../../Common/Inputs/ProgressSlider";
|
||||
import { useState } from "react";
|
||||
|
||||
|
||||
export function OverlayControl() {
|
||||
@@ -38,10 +36,6 @@ export function OverlayControl() {
|
||||
dispatch(setOpacity(value));
|
||||
};
|
||||
|
||||
/* TEMP */
|
||||
const [barValue, setBarValue] = useState(0.3);
|
||||
/* TEMP */
|
||||
|
||||
return (
|
||||
<Stack as={PadBox} gutter="md" padding="sm">
|
||||
<Inline gutter="md" stretch="end">
|
||||
|
||||
Reference in new issue
Block a user