Editor font size 16px to prevent autozoom on edit on iOS
This commit is contained in:
parent
5ec86067ca
commit
efca3df1cb
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ export default function EditorPanel({className, style}: {className?: string, sty
|
||||||
onMount={onMount} // TODO: This looks a bit silly, does it trigger a re-render??
|
onMount={onMount} // TODO: This looks a bit silly, does it trigger a re-render??
|
||||||
options={{
|
options={{
|
||||||
...openscadEditorOptions,
|
...openscadEditorOptions,
|
||||||
|
fontSize: 16,
|
||||||
lineNumbers: state.view.lineNumbers ? 'on' : 'off',
|
lineNumbers: state.view.lineNumbers ? 'on' : 'off',
|
||||||
// readOnly: !isFileWritable(state.params.sourcePath)
|
// readOnly: !isFileWritable(state.params.sourcePath)
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue