diff --git a/src/components/editor/EditorControls.tsx b/src/components/editor/EditorControls.tsx index e7a1eb3..b3d12f6 100644 --- a/src/components/editor/EditorControls.tsx +++ b/src/components/editor/EditorControls.tsx @@ -38,7 +38,8 @@ interface EditorControlsProps { redoCount: number; onUndo: () => void; onRedo: () => void; - onResetCamera: () => void; + cameraActionLabel: string; + onCameraAction: () => void; onExportJson: () => void; onSaveToServer?: (() => void | Promise) | undefined; onPlayerMode?: (() => void) | undefined; @@ -103,7 +104,8 @@ export function EditorControls({ redoCount, onUndo, onRedo, - onResetCamera, + cameraActionLabel, + onCameraAction, onExportJson, onSaveToServer, onPlayerMode, @@ -271,9 +273,9 @@ export function EditorControls({ )} -