Steve Ruiz
c959006144
Make eraser line scale to zoom ( #710 )
2022-06-02 17:14:27 +01:00
Steve Ruiz
c126be5c50
[feature] add erase line ( #708 )
...
* Add erase line
* Fix erasing small dots
* bump perfect-freehand
2022-06-01 15:21:36 +01:00
Steve Ruiz
eca66b1c54
Fix keyboard events while menu is open.
2022-05-20 15:22:50 +01:00
Steve Ruiz
9d8c4888f3
move style panel to right-hand size
2022-05-20 15:10:54 +01:00
Steve Ruiz
ba0795c595
[improvement] adds option to keep style menu open ( #697 )
...
* Adds open to keep style menu open
* fix keyboard shortcuts, add button to menu
2022-05-20 13:56:16 +01:00
Steve Ruiz
a9750d9dc6
rename room to project
2022-05-19 12:01:31 +01:00
Steve Ruiz
be8c85eb5f
cleanup
2022-05-19 11:45:59 +01:00
Steve Ruiz
0a23ad61b6
add filename to asset
2022-05-18 22:12:01 +01:00
Steve Ruiz
7e85d00c66
Merge branch 'main' of https://github.com/tldraw/tldraw
2022-05-18 22:06:05 +01:00
Steve Ruiz
bb58902d5b
ok
2022-05-18 22:04:04 +01:00
Steve Ruiz
cacb4b7827
[improvement] copy assets when copying to multiplayer room ( #694 )
2022-05-18 21:46:24 +01:00
Steve Ruiz
13f5787c31
[improvement] Add ability to copy to new multiplayer room ( #693 )
...
* Add ability to copy to new multiplayer room
* cleanup
2022-05-18 16:59:30 +01:00
Steve Ruiz
f281e123f8
fix buttons
2022-05-18 13:11:25 +01:00
Steve Ruiz
fbb29c87b2
[improvement] remove sponsorship color ( #691 )
...
* remove sponsorship variations
* Update menu
2022-05-18 13:09:11 +01:00
Steve Ruiz
e2a6badaef
[improvement] Adds error boundary ( #690 )
...
* Add error boundary
* Update useStyle.tsx
* Update ErrorFallback.tsx
2022-05-18 12:45:04 +01:00
Steve Ruiz
e32815eaec
Fix scaled text ( #687 )
2022-05-15 10:40:22 +01:00
Steve Ruiz
60e936dfed
[fix] iOS safari clipboard / text position ( #686 )
...
* use idb for clipboard, too
* Add warnings for firefox
* remove logs
* Update getTextSvgElement.ts
2022-05-14 14:59:47 +01:00
Steve Ruiz
c3050db968
[fix] copy and paste (again) ( #685 )
...
* fix copy
* remove console logs
* update types
2022-05-14 14:15:55 +01:00
Steve Ruiz
357b1bb747
use canvas color for backgrounds
2022-05-14 12:18:18 +01:00
Steve Ruiz
07285dbf10
Add dark mode support for image export ( #684 )
2022-05-14 12:13:37 +01:00
Steve Ruiz
543757984b
[fix] text editing in vscode ( #683 )
...
* fix text editing events in vscode
* fix outline in vscode
2022-05-14 11:43:56 +01:00
Steve Ruiz
e0aa7c0032
[fix] Fix text clipboard issues ( #682 )
...
* add encode URI component
* prevent copying while editing text
* Add copy listeners to canvas instead
* remove trailing whitespace on paste
2022-05-14 10:47:08 +01:00
Steve Ruiz
57769e47b7
fix copy and paste on Safari ( #680 )
2022-05-13 13:00:53 +01:00
Steve Ruiz
6bb5faeaf0
Fix fonts in vscode extension
2022-05-11 16:58:40 +01:00
Steve Ruiz
c54c800675
[improvement] local copy and export for images ( #669 )
...
* local images
use assets for local copy
add menu options
* clean up packages
* cleanup unused content, move file handling into app.paste
* Add tldraw-assets.json to other files.
* add path to editor
* Update build.mjs
* add export to server example with link to gist
* Fix onAssetCreate and onAssetDelete APIs
* Update yarn.lock
* fix bugs on paste, adjust api for getting images, fix readonly on cut, copy, paste
* re-enable swc
* paste svg strings as svg images
* cleanup
* fix string case for tldraw json
2022-05-11 14:25:08 +01:00
Steve Ruiz
e78f9a086a
remove transpile modules ( #670 )
...
* remove transpile modules
* remove dependency
2022-05-11 09:55:31 +01:00
Steve Ruiz
2bc5717aae
Fix rectangle quirk
2022-05-10 08:20:50 +01:00
Steve Ruiz
06f2dcd44b
[improvement] paste media from clipboard ( #667 )
...
* Adds support for pasting images
* Make pasted shape fit in screen
* default to debug mode false
2022-05-06 09:14:20 +01:00
Ugbala Valentino
eff858d0a7
fix: update tldraw to respond to dark mode prop ( #659 )
...
* fix: update tldraw to respond to darkMode prop
* fix: update dark mode route in examples
2022-04-29 09:35:20 +01:00
Steve Ruiz
5493403663
Revert "Use the npm module of browser-fs-access ( #653 )"
...
This reverts commit b4e97604b3
.
2022-04-29 09:07:25 +01:00
Steve Ruiz
b859b721d0
Bump versions
2022-04-26 09:04:34 +01:00
Thomas Steiner
b4e97604b3
Use the npm module of browser-fs-access ( #653 )
...
* Use npm module
* Update yarn.lock
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-04-25 11:43:31 +01:00
Judicael
4749919342
change menu content overflow to auto ( #650 )
...
Co-authored-by: judicael_ai <judicael@smartpredict.ai>
2022-04-20 13:49:27 +01:00
Judicael
cb6769e800
Add pencil icon to rename page input as an indicator ( #638 )
...
* Add pencil icon to rename page input
* improve style for page name input
Co-authored-by: judicael_ai <judicael@smartpredict.ai>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-04-16 12:50:09 +01:00
Steve Ruiz
d81bcc1055
[improvement] add undo redo at all screen sizes ( #643 )
...
* Adds undo redo at all viewport sizes
* Update TopPanel.tsx
2022-04-16 12:22:24 +01:00
Steve Ruiz
1723254e80
[feature] hold alt to grow arrow from center ( #635 )
...
* Add alt-drag line/arrow handles
* add test
2022-04-02 10:47:52 +01:00
Judicael
2421accb4f
Add text field to rename the page ( #629 )
...
* Add text field to rename the page
* tweak appearance
Co-authored-by: judicael_ai <judicael@smartpredict.ai>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-03-31 14:31:26 +01:00
Steve Ruiz
059d1011c9
Add migrate step ( #628 )
2022-03-31 14:16:43 +01:00
Steve Ruiz
2a98e0c6e7
[fix] Protect document from missing parents / children. ( #622 )
...
* Scan document for missing parents / children.
* fix tests
* Apply fixes to vscode extension
2022-03-17 12:42:18 +00:00
Steve Ruiz
8039016416
[fix] Only delete bindings if they were attached to a deleted group shape ( #617 )
...
* Only delete bindings if they were attached to a deleted group shape
* Update TransformSingleSession.ts
2022-03-10 19:39:21 +00:00
Steve Ruiz
4886ef668e
adds minimal scrolling to menus ( #614 )
2022-03-09 13:13:15 +00:00
Steve Ruiz
99dd67cd81
remove dots in geometric shapes ( #613 )
2022-03-09 13:04:39 +00:00
Steve Ruiz
15e3e9805f
[fix] Refresh bounding boxes when fonts load ( #612 )
...
* remove font face fallbacks
* When fonts load, force the document to recalculate bounding boxes.
2022-03-09 12:39:41 +00:00
Steve Ruiz
1544ce3e20
[fix] brush appearance when using CAD mode ( #609 )
...
* Update Tldraw.tsx
* Uses color rather than dash for brush in CAD mode
* improves colors for dark mode
* Update Tldraw.tsx
2022-03-09 11:02:46 +00:00
Enrico
2781aa4e0d
added CAD like behavior like described in issue #555 ( #589 )
...
* added cade like behaviour like described in issue #555
* added color change when selecting depending on behavior
* added option to turn on/off cad like selection
* Revert "added color change when selecting depending on behavior"
This reverts commit 4a4aac02b6
.
* Remove colors, add perfect dash props, rename setting, move prop to appState
* Reorder menu
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-03-09 10:19:58 +00:00
Steve Ruiz
9d984b8b7a
Update TldrawApp.ts
2022-03-03 07:09:19 +00:00
Fabian Mu
32203637f2
Extract SVGs size from viewBox attibute ( #590 )
2022-03-02 14:59:54 +00:00
Steve Ruiz
95ac56db76
Update getTextSize.ts
2022-02-24 21:41:08 +00:00
Steve Ruiz
ae49e85380
Fix text issue
2022-02-24 21:26:44 +00:00
Steve Ruiz
835091d494
Fix zoom
2022-02-15 14:15:03 +00:00