aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-16 21:26:04 -0400
committerbobzel <zzzman@gmail.com>2021-03-16 21:26:04 -0400
commitec0510a3d80f065ab8aa1e5280e50d689628f008 (patch)
treef358bbdd7f3bc8a2fd33f78b149b967e72fd2076 /src/client/util/CurrentUserUtils.ts
parentd5be520f31d7afe108071734fdc47a22d80f8f45 (diff)
fixed dropping into a group using title bar (embed key)
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 6566f5f78..2a84171cb 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -1198,7 +1198,7 @@ export class CurrentUserUtils {
_width: width || 200, _height: height || 100, x: x, y: y, _fitWidth: true, _autoHeight: true, _fontSize: StrCast(Doc.UserDoc().fontSize),
_fontFamily: StrCast(Doc.UserDoc().fontFamily), title
});
- const template = FormattedTextBox.DefaultLayout;
+ const template = Doc.UserDoc().defaultTextLayout;
if (template instanceof Doc) {
tbox._width = NumCast(template._width);
tbox.layoutKey = "layout_" + StrCast(template.title);