diff options
author | bobzel <zzzman@gmail.com> | 2021-07-30 08:00:49 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-07-30 08:00:49 -0400 |
commit | b3f81bf0cad1f7dadf47de7b7fc673b35180c46c (patch) | |
tree | 647ca852de4fc47959594f243b28405f0aa2de07 /src/client/util/CurrentUserUtils.ts | |
parent | 64d51d486a41bbeb5e0fe07a347ea9c6b5165389 (diff) |
set default native width for maps. changed map css so sidebar will show up. fixed pointerEvents for map
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index adc66c916..27bef915d 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -458,7 +458,7 @@ export class CurrentUserUtils { doc.emptyWebpage = Docs.Create.WebDocument("", { title: "webpage", _nativeWidth: 850, isTemplateDoc: true, _height: 512, _width: 400, useCors: true, system: true, cloneFieldFilter: new List<string>(["system"]) }); } if (doc.emptyMap === undefined) { - doc.emptyMap = Docs.Create.MapDocument([], { title: "map", _width: 800, _height: 600, system: true, cloneFieldFilter: new List<string>(["system"]) }); + doc.emptyMap = Docs.Create.MapDocument([], { title: "map", _showSidebar: true, _width: 800, _height: 600, system: true, cloneFieldFilter: new List<string>(["system"]) }); ((doc.emptyMap as Doc).proto as Doc)["dragFactory-count"] = 0; } if (doc.activeMobileMenu === undefined) { |