From bdb78d5f0bd0e9e2ee9f46119b9b42735e9dc8a7 Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 21 Aug 2023 16:50:02 -0400 Subject: Pre-anchor menu work --- src/client/views/nodes/MapBox/MapBox.tsx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx index 329de5792..be2defa9b 100644 --- a/src/client/views/nodes/MapBox/MapBox.tsx +++ b/src/client/views/nodes/MapBox/MapBox.tsx @@ -351,7 +351,7 @@ export class MapBox extends ViewBoxAnnotatableComponent { + createNoteAnnotation = () => { !this.layoutDoc.layout_showSidebar && this.toggleSidebar(); setTimeout(() => this._sidebarRef.current?.anchorMenuClick(this.getAnchor(false))); // give time for sidebarRef to be created }; @@ -510,6 +510,10 @@ export class MapBox extends ViewBoxAnnotatableComponent