Update onCommitCreation to return boolean in ViewportCanvas.tsx

This commit is contained in:
2026-04-03 00:32:00 +02:00
parent 2e7de4b14c
commit b54b3eb445

View File

@@ -37,7 +37,7 @@ interface ViewportCanvasProps {
focusRequestId: number;
focusSelection: EditorSelection;
onSelectionChange(selection: EditorSelection): void;
onCommitCreation(toolPreview: CreationViewportToolPreview): void;
onCommitCreation(toolPreview: CreationViewportToolPreview): boolean;
onToolPreviewChange(toolPreview: ViewportToolPreview): void;
}