@tldraw/editor 5.2.0-canary.a1c843a2b505 → 5.2.0-canary.a48e411198d2

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/README.md CHANGED
@@ -4,6 +4,12 @@ The core editor and composable parts for tldraw. [Click here](https://tldraw.dev
4
4
 
5
5
  You might be more interested in the general package [tldraw](https://github.com/tldraw/tldraw/tree/main/packages/tldraw) instead of using this package directly.
6
6
 
7
+ ## Documentation
8
+
9
+ Documentation for the most recent release can be found on [tldraw.dev/docs](https://tldraw.dev/docs), including [reference docs](https://tldraw.dev/reference/editor/Editor). Our release notes can be found [here](https://tldraw.dev/releases).
10
+
11
+ For more agent-friendly docs, see our [LLMs.txt](https://tldraw.dev/llms.txt).
12
+
7
13
  ## License
8
14
 
9
15
  This project is part of the tldraw SDK. It is provided under the [tldraw SDK license](https://github.com/tldraw/tldraw/blob/main/LICENSE.md).
package/dist-cjs/index.js CHANGED
@@ -379,7 +379,7 @@ var import_uniq = require("./lib/utils/uniq");
379
379
  var import_defaultThemes2 = require("./lib/editor/managers/ThemeManager/defaultThemes");
380
380
  (0, import_utils.registerTldrawLibraryVersion)(
381
381
  "@tldraw/editor",
382
- "5.2.0-canary.a1c843a2b505",
382
+ "5.2.0-canary.a48e411198d2",
383
383
  "cjs"
384
384
  );
385
385
  //# sourceMappingURL=index.js.map
@@ -8240,7 +8240,10 @@ class Editor extends import_eventemitter3.default {
8240
8240
  this.setCursor({ type: this._prevCursor, rotation: 0 });
8241
8241
  }
8242
8242
  if (slideSpeed > 0) {
8243
- this.slideCamera({ speed: slideSpeed, direction: slideDirection });
8243
+ this.slideCamera({
8244
+ speed: slideSpeed,
8245
+ direction: { x: slideDirection.x, y: slideDirection.y, z: 0 }
8246
+ });
8244
8247
  }
8245
8248
  this._selectedShapeIdsAtPointerDown = [];
8246
8249
  this._didCaptureSelectionAtPointerDown = false;