@tldraw/editor 3.14.0-canary.c81eaa71a51b → 3.14.0-canary.cad451c26011

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -364,7 +364,7 @@ function debugEnableLicensing() {
364
364
  }
365
365
  (0, import_utils.registerTldrawLibraryVersion)(
366
366
  "@tldraw/editor",
367
- "3.14.0-canary.c81eaa71a51b",
367
+ "3.14.0-canary.cad451c26011",
368
368
  "cjs"
369
369
  );
370
370
  //# sourceMappingURL=index.js.map
@@ -2788,7 +2788,7 @@ class Editor extends (_a = import_eventemitter3.default, _getIsShapeHiddenCache_
2788
2788
  * @public
2789
2789
  */
2790
2790
  updateViewportScreenBounds(screenBounds, center = false) {
2791
- if (screenBounds instanceof HTMLElement) {
2791
+ if (!(screenBounds instanceof import_Box.Box)) {
2792
2792
  const rect = screenBounds.getBoundingClientRect();
2793
2793
  screenBounds = new import_Box.Box(
2794
2794
  rect.left || rect.x,