@tldraw/editor 3.13.2 → 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 +20 -0
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/lib/editor/Editor.js +1 -1
- package/dist-cjs/lib/editor/Editor.js.map +2 -2
- package/dist-cjs/lib/utils/dom.js +1 -1
- package/dist-cjs/lib/utils/dom.js.map +2 -2
- package/dist-cjs/version.js +2 -2
- package/dist-cjs/version.js.map +1 -1
- package/dist-esm/index.mjs +1 -1
- package/dist-esm/lib/editor/Editor.mjs +1 -1
- package/dist-esm/lib/editor/Editor.mjs.map +2 -2
- package/dist-esm/lib/utils/dom.mjs +1 -1
- package/dist-esm/lib/utils/dom.mjs.map +2 -2
- package/dist-esm/version.mjs +2 -2
- package/dist-esm/version.mjs.map +1 -1
- package/package.json +7 -7
- package/src/lib/editor/Editor.ts +1 -1
- package/src/lib/utils/dom.ts +1 -1
- package/src/version.ts +2 -2
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
|
@@ -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
|
|
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,
|