@tldraw/editor 3.13.3 → 3.13.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ # v3.13.4 (Mon Jun 30 2025)
2
+
3
+ ### Release Notes
4
+
5
+ #### Selected cross-realm fixes ([#6338](https://github.com/tldraw/tldraw/pull/6338))
6
+
7
+ - Fix a few code paths that didn't work for cross-realm situations.
8
+
9
+ ---
10
+
11
+ #### 🐛 Bug Fixes
12
+
13
+ - Selected cross-realm fixes [#6338](https://github.com/tldraw/tldraw/pull/6338) ([@ds300](https://github.com/ds300))
14
+
15
+ #### Authors: 1
16
+
17
+ - David Sheldrick ([@ds300](https://github.com/ds300))
18
+
19
+ ---
20
+
1
21
  # v3.13.0 (Thu May 22 2025)
2
22
 
3
23
  ### Release Notes
package/dist-cjs/index.js CHANGED
@@ -361,7 +361,7 @@ function debugEnableLicensing() {
361
361
  }
362
362
  (0, import_utils.registerTldrawLibraryVersion)(
363
363
  "@tldraw/editor",
364
- "3.13.3",
364
+ "3.13.4",
365
365
  "cjs"
366
366
  );
367
367
  //# sourceMappingURL=index.js.map
@@ -2769,7 +2769,7 @@ class Editor extends (_a = import_eventemitter3.default, _getIsShapeHiddenCache_
2769
2769
  * @public
2770
2770
  */
2771
2771
  updateViewportScreenBounds(screenBounds, center = false) {
2772
- if (screenBounds instanceof HTMLElement) {
2772
+ if (!(screenBounds instanceof import_Box.Box)) {
2773
2773
  const rect = screenBounds.getBoundingClientRect();
2774
2774
  screenBounds = new import_Box.Box(
2775
2775
  rect.left || rect.x,