From efca3df1cba927d274e715a864a196e665c3c09e Mon Sep 17 00:00:00 2001 From: ochafik Date: Mon, 27 Mar 2023 22:38:49 +0100 Subject: [PATCH] Editor font size 16px to prevent autozoom on edit on iOS --- src/components/EditorPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/EditorPanel.tsx b/src/components/EditorPanel.tsx index b7523f1..c1d2655 100644 --- a/src/components/EditorPanel.tsx +++ b/src/components/EditorPanel.tsx @@ -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?? options={{ ...openscadEditorOptions, - + fontSize: 16, lineNumbers: state.view.lineNumbers ? 'on' : 'off', // readOnly: !isFileWritable(state.params.sourcePath) }}