Update onCommitCreation to return boolean in ViewportCanvas.tsx
This commit is contained in:
@@ -37,7 +37,7 @@ interface ViewportCanvasProps {
|
|||||||
focusRequestId: number;
|
focusRequestId: number;
|
||||||
focusSelection: EditorSelection;
|
focusSelection: EditorSelection;
|
||||||
onSelectionChange(selection: EditorSelection): void;
|
onSelectionChange(selection: EditorSelection): void;
|
||||||
onCommitCreation(toolPreview: CreationViewportToolPreview): void;
|
onCommitCreation(toolPreview: CreationViewportToolPreview): boolean;
|
||||||
onToolPreviewChange(toolPreview: ViewportToolPreview): void;
|
onToolPreviewChange(toolPreview: ViewportToolPreview): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user