@tldraw/editor 4.4.0-canary.d73d4c744055 → 4.4.0-canary.dcd2a8cdc4c2
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 +3 -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 +3 -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/editor.css +0 -5
- package/package.json +7 -7
- package/src/lib/editor/Editor.ts +3 -9
- package/src/version.ts +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -372,7 +372,7 @@ var import_uniq = require("./lib/utils/uniq");
|
|
|
372
372
|
var import_window_open = require("./lib/utils/window-open");
|
|
373
373
|
(0, import_utils.registerTldrawLibraryVersion)(
|
|
374
374
|
"@tldraw/editor",
|
|
375
|
-
"4.4.0-canary.
|
|
375
|
+
"4.4.0-canary.dcd2a8cdc4c2",
|
|
376
376
|
"cjs"
|
|
377
377
|
);
|
|
378
378
|
//# sourceMappingURL=index.js.map
|
|
@@ -7567,7 +7567,9 @@ class Editor extends (_a = import_eventemitter3.default, _getIsShapeHiddenCache_
|
|
|
7567
7567
|
case "pinch_start": {
|
|
7568
7568
|
if (inputs.getIsPinching()) return;
|
|
7569
7569
|
if (!inputs.getIsEditing()) {
|
|
7570
|
-
this._selectedShapeIdsAtPointerDown
|
|
7570
|
+
if (!this._selectedShapeIdsAtPointerDown.length) {
|
|
7571
|
+
this._selectedShapeIdsAtPointerDown = [...pageState.selectedShapeIds];
|
|
7572
|
+
}
|
|
7571
7573
|
this._didPinch = true;
|
|
7572
7574
|
inputs.setIsPinching(true);
|
|
7573
7575
|
this.interrupt();
|
|
@@ -7782,7 +7784,6 @@ class Editor extends (_a = import_eventemitter3.default, _getIsShapeHiddenCache_
|
|
|
7782
7784
|
this.setCurrentTool(this._restoreToolId);
|
|
7783
7785
|
}
|
|
7784
7786
|
}
|
|
7785
|
-
this._selectedShapeIdsAtPointerDown = [];
|
|
7786
7787
|
break;
|
|
7787
7788
|
}
|
|
7788
7789
|
}
|