tldraw/templates/vite
Steve Ruiz ebc892a1a6
Camera options followups (#3701)
This PR adds a slideshow example (similar to @TodePond's slides but more
on rails) as a way to put some pressure on camera controls.

Along the way, it fixes some issues I found with animations and the new
camera controls.

- forced changes will continue to force through animations
- animations no longer set unnecessary additional listeners
- animations end correctly
- updating camera options does not immediately update the camera (to
allow for animations, etc.)

It also changes the location of the "in front of the canvas" element so
that it is not hidden by the hit test blocking element.

### Change Type

- [x] `sdk` — Changes the tldraw SDK
- [x] `improvement` — Improving existing features
2024-05-07 10:06:35 +00:00
..
public Use github actions to mirror templates from monorepo to appropriate repos (#2781) 2024-02-29 10:48:31 +00:00
src styling: make dotcom and examples site have consistent font styling (#3271) 2024-03-27 09:44:22 +00:00
.eslintrc.cjs [dx] Allow vscode to search inside md files by default (#3105) 2024-03-11 14:08:04 +00:00
.gitignore remove yarn stuff from the templates and ignore it (#2997) 2024-02-29 12:32:16 +00:00
index.html [dx] Allow vscode to search inside md files by default (#3105) 2024-03-11 14:08:04 +00:00
LICENSE Use github actions to mirror templates from monorepo to appropriate repos (#2781) 2024-02-29 10:48:31 +00:00
package.json Camera options followups (#3701) 2024-05-07 10:06:35 +00:00
README.md Use github actions to mirror templates from monorepo to appropriate repos (#2781) 2024-02-29 10:48:31 +00:00
tsconfig.json Use github actions to mirror templates from monorepo to appropriate repos (#2781) 2024-02-29 10:48:31 +00:00
tsconfig.node.json Use github actions to mirror templates from monorepo to appropriate repos (#2781) 2024-02-29 10:48:31 +00:00
vite-env.d.ts Use github actions to mirror templates from monorepo to appropriate repos (#2781) 2024-02-29 10:48:31 +00:00
vite.config.ts Use github actions to mirror templates from monorepo to appropriate repos (#2781) 2024-02-29 10:48:31 +00:00
yarn.lock Use github actions to mirror templates from monorepo to appropriate repos (#2781) 2024-02-29 10:48:31 +00:00

tldraw

This repo contains a template you can copy for using tldraw in a vite application.