From 8dd02b1b84a3b483e68a0af00b61b8ae39920458 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 7 Jul 2025 08:56:59 -0400 Subject: fontSize fix for equationBoxes --- src/client/views/nodes/EquationBox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/EquationBox.tsx b/src/client/views/nodes/EquationBox.tsx index 2ce24b688..3549cc5d3 100644 --- a/src/client/views/nodes/EquationBox.tsx +++ b/src/client/views/nodes/EquationBox.tsx @@ -70,7 +70,7 @@ export class EquationBox extends ViewBoxBaseComponent() { y: NumCast(this.layoutDoc.y) + NumCast(this.Document._height) + 10, backgroundColor: StrCast(this.Document.backgroundColor), color: StrCast(this.Document.color), - fontSize: this.fontSize, + text_fontSize: this.fontSize, }); DocumentView.SetSelectOnLoad(nextEq); this._props.addDocument?.(nextEq); @@ -158,7 +158,7 @@ Docs.Prototypes.TemplateMap.set(DocumentType.EQUATION, { acl: '', _xMargin: 10, _yMargin: 10, - fontSize: '14px', + text_fontSize: '14px', _nativeWidth: 40, _nativeHeight: 40, _layout_reflowHorizontal: false, -- cgit v1.2.3-70-g09d2