1367e4c500
This PR adds two new component overrides to the editor's `components` slot. They are: - `<OnTheCanvas/>`, which renders inside of the html layer that scales and translates with the camera - `<InFrontOfTheCanvas/>`, which renders in front of the canvas but behind any UI elements, and which does not scale / pan with the camera. ![Kapture 2023-11-06 at 12 19 15](https://github.com/tldraw/tldraw/assets/23072548/51c0421d-8b39-48b5-9b8a-c717253c3423) ### Change Type - [x] `minor` — New feature ### Test Plan 1. See the "on the canvas" example. ### Release Notes - [editor] Adds two new components, `OnTheCanvas` and `InFrontOfTheCanvas`. |
||
---|---|---|
.. | ||
api | ||
src | ||
api-extractor.json | ||
api-report.md | ||
CHANGELOG.md | ||
editor.css | ||
LICENSE | ||
package.json | ||
README.md | ||
setupTests.js | ||
tsconfig.json |
tldraw/tldraw
Benchmark
To run the benchmarks
yarn workspace @tldraw/tldraw benchmark
Or
yarn workspace @tldraw/tldraw benchmark "file_search_string"