Pass onCommitPlacement to ViewportCanvas component
This commit is contained in:
@@ -86,6 +86,7 @@ export function ViewportCanvas({
|
|||||||
focusSelection,
|
focusSelection,
|
||||||
onSelectionChange,
|
onSelectionChange,
|
||||||
onCreateBoxBrush,
|
onCreateBoxBrush,
|
||||||
|
onCommitPlacement,
|
||||||
onToolPreviewChange
|
onToolPreviewChange
|
||||||
}: ViewportCanvasProps) {
|
}: ViewportCanvasProps) {
|
||||||
const containerRef = useRef<HTMLDivElement | null>(null);
|
const containerRef = useRef<HTMLDivElement | null>(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user