@tldraw/editor 3.13.0-canary.da15a0065ba5 → 3.13.0-canary.ea6e50365559
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 +1 -2
- 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 +1 -2
- 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 +1 -2
- package/src/version.ts +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1347,8 +1347,7 @@ class Editor extends (_a = import_eventemitter3.default, _getIsShapeHiddenCache_
|
|
|
1347
1347
|
return this.getCurrentPageState().selectedShapeIds;
|
|
1348
1348
|
}
|
|
1349
1349
|
getSelectedShapes() {
|
|
1350
|
-
|
|
1351
|
-
return (0, import_utils.compact)(selectedShapeIds.map((id) => this.store.get(id)));
|
|
1350
|
+
return (0, import_utils.compact)(this.getSelectedShapeIds().map((id) => this.store.get(id)));
|
|
1352
1351
|
}
|
|
1353
1352
|
/**
|
|
1354
1353
|
* Select one or more shapes.
|