diff --git a/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/InspectorSidebar.tsx b/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/InspectorSidebar.tsx index 281f268cd..daf35b0c0 100644 --- a/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/InspectorSidebar.tsx +++ b/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/InspectorSidebar.tsx @@ -1,4 +1,4 @@ -import { Boxes, Trash2 } from 'lucide-react'; +import { Boxes, LockKeyhole, Trash2 } from 'lucide-react'; import type { InputHTMLAttributes, ReactNode, @@ -60,6 +60,7 @@ export function InspectorSidebar({ controller: UiEditorPageController; }) { const view = getInspectorView(controller); + const isReadOnly = controller.editor.isLocked; let inspectorContent: ReactNode; switch (view.kind) { case 'node': @@ -125,12 +126,21 @@ export function InspectorSidebar({ } return ( -