Hide line numbers by default
This commit is contained in:
parent
c141f3883a
commit
3c5aec27c3
4 changed files with 10 additions and 0 deletions
|
|
@ -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)
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue