collaboration Drawing app
 
 
 
Go to file
Lu Wilson f2ec7be62e
Fix pinch zooming (#2748)
This PR fixes pinch zooming not working on touch screens.

Tested on android chrome, windows, ipad.

### Change Type

- [x] `patch` — Bug fix

[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. On a touch screen, try to pinch zoom in and out. Does it work?

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- None: Fixes an unreleased bug.
2024-02-06 12:28:26 +00:00
.github [dx] use Biome instead of Prettier, part 2 (#2731) 2024-02-05 17:54:02 +00:00
.husky
.vscode [dx] use Biome instead of Prettier, part 1 (#2729) 2024-02-05 17:41:42 +00:00
.yarn/patches
apps docs: disable ai search for now (#2740) 2024-02-06 11:50:11 +00:00
assets
config make CI check for yarn install warnings and fix the peer deps ones we have (#2683) 2024-01-30 11:41:46 +00:00
packages Fix pinch zooming (#2748) 2024-02-06 12:28:26 +00:00
scripts [dx] use Biome instead of Prettier, part 2 (#2731) 2024-02-05 17:54:02 +00:00
.dockerignore
.eslintignore
.eslintplugin.js
.eslintrc.js
.gitignore [dx] add gen docs to gitignore (#2704) 2024-02-01 15:06:37 +00:00
.ignore [dx] use Biome instead of Prettier, part 1 (#2729) 2024-02-05 17:41:42 +00:00
.prettierrc [dx] use Biome instead of Prettier, part 1 (#2729) 2024-02-05 17:41:42 +00:00
.yarnrc.yml
CHANGELOG.md
CLA.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.md
README.md Update README and examples copy in the docs (#2594) 2024-01-26 14:00:51 +00:00
TRADEMARKS.md
biome.json [dx] use Biome instead of Prettier, part 1 (#2729) 2024-02-05 17:41:42 +00:00
lazy.config.ts [dx] Add docs to lazy caching. (#2672) 2024-01-28 14:19:19 +00:00
lerna.json [dx] Add docs to lazy caching. (#2672) 2024-01-28 14:19:19 +00:00
package.json [dx] use Biome instead of Prettier, part 1 (#2729) 2024-02-05 17:41:42 +00:00
yarn.config.cjs
yarn.lock [dx] use Biome instead of Prettier, part 1 (#2729) 2024-02-05 17:41:42 +00:00

README.md

tldraw

tldraw

Welcome to the public monorepo for tldraw. tldraw is a library for creating infinite canvas experiences in React. It's the software behind the digital whiteboard tldraw.com.

Local development

The local development server will run our examples app. The basic example will show any changes you've made to the codebase.

To run the local development server, first clone this repo.

Install dependencies:

yarn

Start the local development server:

yarn dev

Open the example project at localhost:5420.

License

tldraw's source code and distributed packages are provided under the non-commercial tldraw license.

This license does not permit commercial use. If you wish to use tldraw in a commercial product or enterprise, you will need to purchase a commercial license. To obtain a commercial license, please contact us at hello@tldraw.com.

To learn more, see our license page.

Trademarks

The tldraw name and logo are trademarks of tldraw. Please see our trademark guidelines for info on acceptable usage.

Community

Have questions, comments or feedback? Join our discord or start a discussion.

Contribution

Please see our contributing guide. Found a bug? Please submit an issue.

Contact

Find us on Twitter at @tldraw or email hello@tldraw.com. You can also join our discord for quick help and support.