Hide line numbers by default

This commit is contained in:
ochafik 2023-03-27 01:27:09 +01:00
commit 3c5aec27c3
4 changed files with 10 additions and 0 deletions

View file

@ -193,6 +193,8 @@ export default function EditorPanel({className, style}: {className?: string, sty
onMount={onMount} // TODO: This looks a bit silly, does it trigger a re-render??
options={{
...openscadEditorOptions,
lineNumbers: state.view.lineNumbers ? 'on' : 'off',
// readOnly: !isFileWritable(state.params.sourcePath)
}}
/>