@tldraw/editor 3.10.0-canary.c661dfedf191 → 3.10.0-canary.d3390519bf28

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 = "3.10.0-canary.c661dfedf191";
25
+ const version = "3.10.0-canary.d3390519bf28";
26
26
  const publishDates = {
27
27
  major: "2024-09-13T14:36:29.063Z",
28
- minor: "2025-03-04T21:36:43.510Z",
29
- patch: "2025-03-04T21:36:43.510Z"
28
+ minor: "2025-03-06T18:47:06.534Z",
29
+ patch: "2025-03-06T18:47:06.534Z"
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 = '3.10.0-canary.c661dfedf191'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-03-04T21:36:43.510Z',\n\tpatch: '2025-03-04T21:36:43.510Z',\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 = '3.10.0-canary.d3390519bf28'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-03-06T18:47:06.534Z',\n\tpatch: '2025-03-06T18:47:06.534Z',\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 @@ function debugEnableLicensing() {
297
297
  }
298
298
  registerTldrawLibraryVersion(
299
299
  "@tldraw/editor",
300
- "3.10.0-canary.c661dfedf191",
300
+ "3.10.0-canary.d3390519bf28",
301
301
  "esm"
302
302
  );
303
303
  export {
@@ -4042,7 +4042,7 @@ class Editor extends (_a = EventEmitter, _getIsShapeHiddenCache_dec = [computed]
4042
4042
  indices = sib ? getIndicesAbove(sib.index, ids.length) : getIndices(ids.length);
4043
4043
  }
4044
4044
  const invertedParentTransform = parentTransform.clone().invert();
4045
- const shapesToReparent = compact(ids.map((id) => this.getShape(id)));
4045
+ const shapesToReparent = compact(ids.map((id) => this.getShape(id))).sort(sortByIndex);
4046
4046
  this.run(
4047
4047
  () => {
4048
4048
  for (let i = 0; i < shapesToReparent.length; i++) {