aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/EquationBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-07-08 20:43:15 -0400
committerbobzel <zzzman@gmail.com>2025-07-08 20:43:15 -0400
commitebd7eb5ff5b1ad34f4474abb13d788878e2345ad (patch)
tree08a0e500d4920cc223a3c766c8ce6c9a63c0e0e0 /src/client/views/nodes/EquationBox.tsx
parent95c0d9b0ed3cf8bf50f3a3eac2f1dff146ba131c (diff)
parentfbbf2933418cc9a4434cfc873b88d04a392cd8e9 (diff)
Merge branch 'master' into agent-paper-main
Diffstat (limited to 'src/client/views/nodes/EquationBox.tsx')
-rw-r--r--src/client/views/nodes/EquationBox.tsx4
1 files changed, 2 insertions, 2 deletions
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<FieldViewProps>() {
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,