Pass onCommitPlacement to ViewportCanvas component

This commit is contained in:
2026-04-02 23:52:58 +02:00
parent da9b08408a
commit 8d4a0cbe81

View File

@@ -86,6 +86,7 @@ export function ViewportCanvas({
focusSelection,
onSelectionChange,
onCreateBoxBrush,
onCommitPlacement,
onToolPreviewChange
}: ViewportCanvasProps) {
const containerRef = useRef<HTMLDivElement | null>(null);