From 2d0cf45253eba4dc00b72d01dc7d51f0a814ac6c Mon Sep 17 00:00:00 2001 From: Daniel Fiuk Date: Tue, 21 Apr 2026 17:35:12 -0600 Subject: [PATCH] Update pinInteractions.ts --- src/pinInteractions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pinInteractions.ts b/src/pinInteractions.ts index 0e3a5f3..99fe986 100644 --- a/src/pinInteractions.ts +++ b/src/pinInteractions.ts @@ -439,7 +439,8 @@ class PinInteractionManager implements PinInteractionController { if (parts.length !== 4 || parts.some(value => value === undefined || Number.isNaN(value))) { return `viewBox="${vb}"`; } - + + const [x, y, w, h] = parts; x ??= 0; y ??= 0; w ??= 500;