aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/MapBox/MapBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-03-19 11:28:00 -0400
committerbobzel <zzzman@gmail.com>2025-03-19 11:28:00 -0400
commit5e73c471b14d5007306fd1bedfdf349769bd5f82 (patch)
treef71a5ddddc5c9baf14b82090ed24d5e30165cbeb /src/client/views/nodes/MapBox/MapBox.tsx
parente8dde2173f3fe36e245c1b34af4440c70175bc1c (diff)
fixed mapBox full screen. fixed link following from node at start of texts (eg mapbox target in sidebar doc)
Diffstat (limited to 'src/client/views/nodes/MapBox/MapBox.tsx')
-rw-r--r--src/client/views/nodes/MapBox/MapBox.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx
index 80afcd802..e7aad7a82 100644
--- a/src/client/views/nodes/MapBox/MapBox.tsx
+++ b/src/client/views/nodes/MapBox/MapBox.tsx
@@ -1221,8 +1221,8 @@ export class MapBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
top: 0,
left: 0,
zIndex: '0',
- width: NumCast(this.layoutDoc._width) * parscale,
- height: NumCast(this.layoutDoc._height) * parscale,
+ width: this._props.PanelWidth() * parscale,
+ height: this._props.PanelHeight() * parscale,
}}
initialViewState={this._isAnimating ? undefined : this.mapboxMapViewState}
onZoom={this.onMapZoom}