@tldraw/editor 5.3.0-canary.3c03dcdf8fa0 → 5.3.0-canary.3cf7ba2fcdbb

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.3.0-canary.3c03dcdf8fa0";
25
+ const version = "5.3.0-canary.3cf7ba2fcdbb";
26
26
  const publishDates = {
27
27
  major: "2026-05-06T16:28:18.473Z",
28
- minor: "2026-07-02T14:21:11.718Z",
29
- patch: "2026-07-02T14:21:11.718Z"
28
+ minor: "2026-07-03T16:12:02.022Z",
29
+ patch: "2026-07-03T16:12:02.022Z"
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.3.0-canary.3c03dcdf8fa0'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-07-02T14:21:11.718Z',\n\tpatch: '2026-07-02T14:21:11.718Z',\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.3.0-canary.3cf7ba2fcdbb'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-07-03T16:12:02.022Z',\n\tpatch: '2026-07-03T16:12:02.022Z',\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
  }
@@ -296,7 +296,7 @@ import { LocalIndexedDb, Table } from "./lib/utils/sync/LocalIndexedDb.mjs";
296
296
  import { uniq } from "./lib/utils/uniq.mjs";
297
297
  registerTldrawLibraryVersion(
298
298
  "@tldraw/editor",
299
- "5.3.0-canary.3c03dcdf8fa0",
299
+ "5.3.0-canary.3cf7ba2fcdbb",
300
300
  "esm"
301
301
  );
302
302
  import { getColorValue } from "./lib/editor/managers/ThemeManager/defaultThemes.mjs";
@@ -525,6 +525,9 @@ class Editor extends EventEmitter {
525
525
  },
526
526
  instance_page_state: {
527
527
  afterChange: (prev, next) => {
528
+ if (prev?.focusedGroupId !== next?.focusedGroupId) {
529
+ this.cancelDoubleClick();
530
+ }
528
531
  if (prev?.selectedShapeIds !== next?.selectedShapeIds) {
529
532
  const filtered = next.selectedShapeIds.filter((id) => {
530
533
  let parentId = this.getShape(id)?.parentId;