@tldraw/editor 5.5.0-canary.022e164c8709 → 5.5.0-canary.02c40fdfa655

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 CHANGED
@@ -392,7 +392,7 @@ var import_uniq = require("./lib/utils/uniq");
392
392
  var import_defaultThemes2 = require("./lib/editor/managers/ThemeManager/defaultThemes");
393
393
  (0, import_utils.registerTldrawLibraryVersion)(
394
394
  "@tldraw/editor",
395
- "5.5.0-canary.022e164c8709",
395
+ "5.5.0-canary.02c40fdfa655",
396
396
  "cjs"
397
397
  );
398
398
  //# sourceMappingURL=index.js.map
@@ -2920,7 +2920,6 @@ class Editor extends import_eventemitter3.default {
2920
2920
  }
2921
2921
  const isOnSamePage = presence.currentPageId === this.getCurrentPageId();
2922
2922
  if (!isOnSamePage) {
2923
- this.markHistoryStoppingPoint("change-page");
2924
2923
  this.setCurrentPage(presence.currentPageId);
2925
2924
  }
2926
2925
  if (opts && opts.animation && !isOnSamePage) {
@@ -5361,7 +5360,7 @@ class Editor extends import_eventemitter3.default {
5361
5360
  const shapesMovingTogether = [shape];
5362
5361
  const boundsOfShapesMovingTogether = [shapePageBounds];
5363
5362
  this.collectShapesViaArrowBindings({
5364
- bindings: this.getBindingsInvolvingShape(shape.id, "arrow"),
5363
+ bindings: this.getBindingsToShape(shape.id, "arrow"),
5365
5364
  initialShapes: freshShapes,
5366
5365
  resultShapes: shapesMovingTogether,
5367
5366
  resultBounds: boundsOfShapesMovingTogether,
@@ -8298,8 +8297,8 @@ class Editor extends import_eventemitter3.default {
8298
8297
  break;
8299
8298
  }
8300
8299
  case "keyboard": {
8301
- if (info.code === "ShiftRight") info.code = "ShiftLeft";
8302
- if (info.code === "AltRight") info.code = "AltLeft";
8300
+ if (info.key === "ShiftRight") info.key = "ShiftLeft";
8301
+ if (info.key === "AltRight") info.key = "AltLeft";
8303
8302
  if (info.code === "ControlRight") info.code = "ControlLeft";
8304
8303
  if (info.code === "MetaRight") info.code = "MetaLeft";
8305
8304
  switch (info.name) {