This commit is contained in:
ochafik 2024-12-31 16:15:34 +00:00 committed by Olivier Chafik
commit 60ed786e22
2 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ export default function SettingsMenu({className, style}: {className?: string, st
// disabled: true,
command: () => model.mutate(s => s.view.lineNumbers = !s.view.lineNumbers)
},
...(isInStandaloneMode ? [
...(isInStandaloneMode() ? [
{
separator: true
},

View file

@ -3,9 +3,9 @@
/// <reference lib="webworker" />
import OpenSCAD from "../wasm/openscad.js";
import { createEditorFS, getParentDir, symlinkLibraries } from "../fs/filesystem.ts";
import { createEditorFS, symlinkLibraries } from "../fs/filesystem.ts";
import { OpenSCADInvocation, OpenSCADInvocationCallback, OpenSCADInvocationResults } from "./openscad-runner.ts";
import { deployedArchiveNames, zipArchives } from "../fs/zip-archives.ts";
import { deployedArchiveNames } from "../fs/zip-archives.ts";
import { fetchSource } from "../utils.ts";
importScripts("browserfs.min.js");