aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/DocUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-11-12 21:06:42 -0500
committerbobzel <zzzman@gmail.com>2024-11-12 21:06:42 -0500
commitd57fdc07fb88282903157b414c4a0886ddaf8bc6 (patch)
tree32cb5740a454d5275f4556f303225b24c52285d4 /src/client/documents/DocUtils.ts
parent6a6215a447c3104f5fea8a813270b8c1fc39ad75 (diff)
updated equationBox to support margins/padding like text. fixed initial undo of newly typed equation.
Diffstat (limited to 'src/client/documents/DocUtils.ts')
-rw-r--r--src/client/documents/DocUtils.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/client/documents/DocUtils.ts b/src/client/documents/DocUtils.ts
index c466344b3..d11a3e235 100644
--- a/src/client/documents/DocUtils.ts
+++ b/src/client/documents/DocUtils.ts
@@ -696,8 +696,12 @@ export namespace DocUtils {
y,
title,
text_fontColor: StrCast(Doc.UserDoc().fontColor),
- _width: 35,
- _height: 35,
+ _width: 50,
+ _height: 50,
+ _yMargin: 10,
+ _xMargin: 10,
+ nativeWidth: 40,
+ nativeHeight: 40,
})
: Docs.Create.TextDocument('', {
annotationOn,