@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.
@@ -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.a6104dd18d03";
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-11T16:27:00.231Z",
29
- patch: "2026-06-11T16:27:00.231Z"
28
+ minor: "2026-06-12T08:51:03.446Z",
29
+ patch: "2026-06-12T08:51:03.446Z"
30
30
  };
31
31
  //# sourceMappingURL=version.js.map
@@ -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.a6104dd18d03'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-06-11T16:27:00.231Z',\n\tpatch: '2026-06-11T16:27:00.231Z',\n}\n"],
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
  }
@@ -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.a6104dd18d03",
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({ speed: slideSpeed, direction: slideDirection });
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;