From 4c4b42ee00262bb1fed10c73a6d35e013e2b9ab0 Mon Sep 17 00:00:00 2001 From: bobzel Date: Fri, 15 Dec 2023 15:02:07 -0500 Subject: fix for ctrl-zoom of map --- src/client/views/nodes/MapBox/MapBox.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx index 735c04c1d..c25d10a0d 100644 --- a/src/client/views/nodes/MapBox/MapBox.tsx +++ b/src/client/views/nodes/MapBox/MapBox.tsx @@ -1593,12 +1593,12 @@ export class MapBox extends ViewBoxAnnotatableComponent { e.button === 0 && !e.ctrlKey && e.stopPropagation(); }} - style={{ pointerEvents: this.pointerEvents() }}> + style={{ width: `calc(100% - ${this.sidebarWidthPercent})`, pointerEvents: this.pointerEvents() }}>
{renderAnnotations(this.transparentFilter)}
{renderAnnotations(this.opaqueFilter)} {SnappingManager.IsDragging ? null : renderAnnotations()} {!this.routeToAnimate && ( -
+
this.handleSearchChange(e.target.value)} /> } type={Type.TERT} onClick={e => this.toggleSettings()} />
@@ -1686,6 +1686,13 @@ export class MapBox extends ViewBoxAnnotatableComponent