Editor font size 16px to prevent autozoom on edit on iOS

This commit is contained in:
ochafik 2023-03-27 22:38:49 +01:00
commit efca3df1cb

View file

@ -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)
}} }}