diff options
author | bobzel <zzzman@gmail.com> | 2024-10-28 20:08:35 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-10-28 20:08:35 -0400 |
commit | c45e21a8960298b77c3508b047cfbd9fdcf2c602 (patch) | |
tree | a0fabfd203267963e7a8a648ac01793b08bbdcf4 /src/client/views/nodes/EquationBox.tsx | |
parent | 8ac260db2fdffc37ff9b6e91971f287df6a70528 (diff) | |
parent | 63f9f9573dab9745d2f570e1917b325a474fdd93 (diff) |
Merge branch 'master' into alyssa-starter
Diffstat (limited to 'src/client/views/nodes/EquationBox.tsx')
-rw-r--r-- | src/client/views/nodes/EquationBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/EquationBox.tsx b/src/client/views/nodes/EquationBox.tsx index fefe25764..290c90d6e 100644 --- a/src/client/views/nodes/EquationBox.tsx +++ b/src/client/views/nodes/EquationBox.tsx @@ -122,7 +122,7 @@ export class EquationBox extends ViewBoxBaseComponent<FieldViewProps>() { width: 'fit-content', // `${100 / scale}%`, height: `${100 / scale}%`, pointerEvents: !this._props.isSelected() ? 'none' : undefined, - fontSize: StrCast(this.layoutDoc._text_fontSize), + fontSize: StrCast(this.Document._text_fontSize), }} onKeyDown={e => e.stopPropagation()}> <EquationEditor ref={this._ref} value={StrCast(this.dataDoc.text, 'x')} spaceBehavesLikeTab onChange={this.onChange} autoCommands="pi theta sqrt sum prod alpha beta gamma rho" autoOperatorNames="sin cos tan" /> |