diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx index a447ed2ab..9057df24f 100644 --- a/src/components/LayerUI.tsx +++ b/src/components/LayerUI.tsx @@ -216,16 +216,19 @@ const LayerUI = ({ {actionManager.renderAction("loadScene")} {/* // TODO barnabasmolnar/editor-redesign */} {/* is this fine here? */} - {appState.fileHandle && + {UIOptions.canvasActions.saveToActiveFile && + appState.fileHandle && actionManager.renderAction("saveToActiveFile")} {renderJSONExportDialog()} - setAppState({ openDialog: "imageExport" })} - shortcut={getShortcutFromShortcutName("imageExport")} - /> + {UIOptions.canvasActions.export && ( + setAppState({ openDialog: "imageExport" })} + shortcut={getShortcutFromShortcutName("imageExport")} + /> + )} {onCollabButtonClick && (