@tldraw/editor 5.2.0-next.a6104dd18d03 → 5.2.0-next.cd4a35fc06d5
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 +1 -1
- package/dist-cjs/lib/editor/Editor.js +4 -1
- package/dist-cjs/lib/editor/Editor.js.map +2 -2
- package/dist-cjs/version.js +3 -3
- package/dist-cjs/version.js.map +1 -1
- package/dist-esm/index.mjs +1 -1
- package/dist-esm/lib/editor/Editor.mjs +4 -1
- package/dist-esm/lib/editor/Editor.mjs.map +2 -2
- package/dist-esm/version.mjs +3 -3
- package/dist-esm/version.mjs.map +1 -1
- package/package.json +7 -7
- package/src/lib/editor/Editor.ts +4 -1
- package/src/version.ts +3 -3
package/dist-cjs/version.js
CHANGED
|
@@ -22,10 +22,10 @@ __export(version_exports, {
|
|
|
22
22
|
version: () => version
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(version_exports);
|
|
25
|
-
const version = "5.2.0-next.
|
|
25
|
+
const version = "5.2.0-next.cd4a35fc06d5";
|
|
26
26
|
const publishDates = {
|
|
27
27
|
major: "2026-05-06T16:28:18.473Z",
|
|
28
|
-
minor: "2026-06-
|
|
29
|
-
patch: "2026-06-
|
|
28
|
+
minor: "2026-06-12T08:51:03.446Z",
|
|
29
|
+
patch: "2026-06-12T08:51:03.446Z"
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=version.js.map
|
package/dist-cjs/version.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/version.ts"],
|
|
4
|
-
"sourcesContent": ["// This file is automatically generated by internal/scripts/refresh-assets.ts.\n// Do not edit manually. Or do, I'm a comment, not a cop.\n\nexport const version = '5.2.0-next.
|
|
4
|
+
"sourcesContent": ["// This file is automatically generated by internal/scripts/refresh-assets.ts.\n// Do not edit manually. Or do, I'm a comment, not a cop.\n\nexport const version = '5.2.0-next.cd4a35fc06d5'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-06-12T08:51:03.446Z',\n\tpatch: '2026-06-12T08:51:03.446Z',\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,UAAU;AAChB,MAAM,eAAe;AAAA,EAC3B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACR;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist-esm/index.mjs
CHANGED
|
@@ -297,7 +297,7 @@ import { LocalIndexedDb, Table } from "./lib/utils/sync/LocalIndexedDb.mjs";
|
|
|
297
297
|
import { uniq } from "./lib/utils/uniq.mjs";
|
|
298
298
|
registerTldrawLibraryVersion(
|
|
299
299
|
"@tldraw/editor",
|
|
300
|
-
"5.2.0-next.
|
|
300
|
+
"5.2.0-next.cd4a35fc06d5",
|
|
301
301
|
"esm"
|
|
302
302
|
);
|
|
303
303
|
import { getColorValue } from "./lib/editor/managers/ThemeManager/defaultThemes.mjs";
|
|
@@ -8273,7 +8273,10 @@ class Editor extends EventEmitter {
|
|
|
8273
8273
|
this.setCursor({ type: this._prevCursor, rotation: 0 });
|
|
8274
8274
|
}
|
|
8275
8275
|
if (slideSpeed > 0) {
|
|
8276
|
-
this.slideCamera({
|
|
8276
|
+
this.slideCamera({
|
|
8277
|
+
speed: slideSpeed,
|
|
8278
|
+
direction: { x: slideDirection.x, y: slideDirection.y, z: 0 }
|
|
8279
|
+
});
|
|
8277
8280
|
}
|
|
8278
8281
|
this._selectedShapeIdsAtPointerDown = [];
|
|
8279
8282
|
this._didCaptureSelectionAtPointerDown = false;
|