Control ui adjsutments
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import Wheel from "@uiw/react-color-wheel";
|
||||
import { hsvaToRgba, rgbaToHsva } from "@uiw/color-convert";
|
||||
import { Copy, RotateCcw } from "lucide-react";
|
||||
import { Copy, RotateCcw, Zap } from "lucide-react";
|
||||
|
||||
import { useThrottledParameterValue } from "../hooks/useThrottledParameterValue";
|
||||
import { ParameterValueDisplay } from "./ParameterValueDisplay";
|
||||
@@ -325,10 +325,11 @@ export function ParameterField({ layer, parameter, onParameterChange }) {
|
||||
{header}
|
||||
<button
|
||||
type="button"
|
||||
className="parameter__trigger"
|
||||
className="button-with-icon parameter__trigger"
|
||||
onClick={() => sendValue(triggerCount + 1)}
|
||||
>
|
||||
Trigger
|
||||
<Zap size={16} strokeWidth={1.9} aria-hidden="true" />
|
||||
<span>Trigger</span>
|
||||
</button>
|
||||
<ParameterValueDisplay parameterType={parameter.type} value={appliedValue} pending={isPending} />
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user