Update ViewportCanvas to handle EditorSelection changes

This commit is contained in:
2026-03-31 02:35:04 +02:00
parent b9e59e6434
commit f7ee18114e

View File

@@ -9,7 +9,7 @@ interface ViewportCanvasProps {
world: WorldSettings;
sceneDocument: SceneDocument;
selection: EditorSelection;
onBrushSelectionChange(brushId: string | null): void;
onBrushSelectionChange(selection: EditorSelection): void;
}
export function ViewportCanvas({ world, sceneDocument, selection, onBrushSelectionChange }: ViewportCanvasProps) {