- Fix fill/stroke/effect/appearance visibility eye toggle (stale clone reads) - Fix independent corner radii toggle not showing 4 inputs - Fix stroke sides toggle: replace dropdown with direct toggle like corners - Copy uniform weight to all sides when expanding stroke sides - Batch multi-selection visibility toggles into single undo entry - Extract ColorStyleRow shared by FillSection and StrokeSection - Replace useFillVariableBinding/useStrokeVariableBinding with useColorVariableBinding(kind) - AppearanceSection uses useAppearance() directly instead of slot wrapper - Add sceneVersion dependency to useNodeProps and PropertyListRoot computeds - Add E2E tests for visibility toggles and corner/stroke side toggles
556 B
556 B
| title | description |
|---|---|
| useFillControls | Fill-panel composable with default fill behavior. |
useFillControls
useFillControls() is the fill-property composable used by fill editing UIs.
It adds a reusable default fill value.
Usage
import { useFillControls } from '@open-pencil/vue'
const fills = useFillControls()
What it gives you
It exposes:
defaultFill
Practical examples
Add a new fill row
propertyList.add(fills.defaultFill)