Commit graph

1703 commits

Author SHA1 Message Date
Steve Ruiz
b1d46c29f6 Fix copy svg / json when page is empty. 2021-11-22 16:53:24 +00:00
Steve Ruiz
839b389f41 Update SelectTool.ts 2021-11-22 16:27:19 +00:00
Steve Ruiz
fa109fd633 Fix undo / redo 2021-11-22 16:27:01 +00:00
Steve Ruiz
b4d3d929ab v1.1.3 2021-11-22 16:20:06 +00:00
Steve Ruiz
f464f3f494 Update CHANGELOG.md 2021-11-22 16:18:20 +00:00
Steve Ruiz
a2fff9dca7
[improvement] Add basic support for copying text (#354)
* Add getSvgElement

* Update TextUtil.tsx

* Add sticky svg

* Fix bounds bug, improve text export

* Include fonts
2021-11-22 16:15:51 +00:00
Yao Wang
f8dc5b3248
[docs] fix type (tldraw/core) (#353)
- `Indicator` -> `Component`

Closes #352
2021-11-22 15:21:19 +00:00
Steve Ruiz
5e6a6c9967
[improvement] refactor multiplayer (#336)
* Move rko into library, improve multiplayer example

* Add presence layer

* extract to a hook

* Migrate old documents to new structures

* Update repo-map.tldr

* More improvements

* Fix bug on deleted shapes

* Update MultiplayerEditor.tsx
2021-11-22 14:00:24 +00:00
Steve Ruiz
cdfad49184
Update useKeyboardShortcuts.tsx (#351) 2021-11-22 13:59:59 +00:00
Proful Sadangi
dad6daf758
[feature] Added LineTool functionality (#343)
* Added LineTool functionality

* Fix Typo error

* Create LineIcon

* Update useKeyboardShortcuts.tsx

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-22 12:28:56 +00:00
Steve Ruiz
588a023e0e v1.1.2 2021-11-21 12:42:32 +00:00
Steve Ruiz
adb680f8cf
[fix] brush selection on groups (#335)
* select groups rather than grouped shapes

* Adds test
2021-11-21 12:40:17 +00:00
Yao Wang
ec6d824b88
docs(contribute doc): move the guides folder to root folder (#329)
- make sure the contribute doc can refer to the guides
2021-11-21 12:09:52 +00:00
Steve Ruiz
d2ae8f06fd Update scripts 2021-11-21 12:07:58 +00:00
Proful Sadangi
a1f4149efe
Fixed bug related to locked tools & select tool (#331) 2021-11-21 11:53:13 +00:00
Steve Ruiz
3f674d7fa5 Merge branch 'main' of https://github.com/tldraw/tldraw 2021-11-21 11:36:21 +00:00
Steve Ruiz
269a035bec
[chore] repo-map.tldr, vscode extension improvements (#332)
* v1.1.1

* add repo-map.tldr, minor changes to extension commands
2021-11-21 11:36:03 +00:00
Steve Ruiz
93ce5042a4 v1.1.1 2021-11-21 10:42:49 +00:00
Steve Ruiz
bbbb9bcabb
Fix kbd spacing (#325) 2021-11-20 15:46:05 +00:00
Steve Ruiz
9dc58e721e v1.1.1 2021-11-20 15:22:33 +00:00
Steve Ruiz
d30fec3436 Update CHANGELOG.md 2021-11-20 15:21:43 +00:00
Proful Sadangi
a53aeb9e0d
[feature] Shift drag arrow functionality (#319)
* Shift drag arrow functionality

* fix

* Remove shift effect in onHandleChange

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-20 15:18:06 +00:00
Babu Annamalai
dcc3cd49b5
fix typo in action button tooltips (#324)
Co-authored-by: mysticmind <babu.annamalai@gmail.comm>
2021-11-20 15:10:34 +00:00
Steve Ruiz
119b1e3d0f v1.1.0 2021-11-20 13:31:20 +00:00
Steve Ruiz
836b6f53d0 Update CHANGELOG.md 2021-11-20 13:31:00 +00:00
Steve Ruiz
7faa716784 v1.0.5 2021-11-20 13:28:07 +00:00
Steve Ruiz
212cef1fb4 Update CHANGELOG.md 2021-11-20 13:27:45 +00:00
Steve Ruiz
fe831c325d
[fix] zoom shortcuts (#323)
* Adds overrides for zoom in / out / reset commands

* Add reset command, numpad keys

* Remove unused shortcuts

* Update package.json
2021-11-20 13:25:41 +00:00
Steve Ruiz
8531971896
Update ActionButton.tsx (#320) 2021-11-20 10:48:18 +00:00
Steve Ruiz
0685ca3871
[feature] fonts (#308)
* adds fonts

* Add alignment options

* Update useKeyboardShortcuts.tsx

* Improve style panel

* Alignment for sticky notes

* swap fonts
2021-11-20 09:37:42 +00:00
/c²
a0891ca3ff
Change Github to GitHub (#315) 2021-11-20 08:21:17 +00:00
Steve Ruiz
62803443ef
fix stuck pointer during text editing / palm hits (#316) 2021-11-20 00:05:48 +00:00
rae
d5d999e86d
fix: add deletion to the history after backspace is pressed (#310)
* fix: add deletion to the history after BACKSPACE is pressed

* Add updateBoundShapes too

* fix bug on deleting bound shapes

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-19 21:21:59 +00:00
dinaco
6e72b78e91
Add Discord link to Menu (#312)
* [feature] Add Discord link to Menu #309

* [feature] Add Discord link to Menu #309

* Moves icon to new component

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-19 20:46:51 +00:00
Steve Ruiz
6214718c31
Update useKeyboardShortcuts.tsx (#313) 2021-11-19 20:26:16 +00:00
Steve Ruiz
6877329340 Update package.json 2021-11-19 15:04:32 +00:00
Steve Ruiz
d33f7ba391 v1.0.5 2021-11-19 15:03:35 +00:00
Steve Ruiz
af0764d3f9 v1.0.4 2021-11-19 15:02:04 +00:00
Steve Ruiz
e043b884ac Update CHANGELOG.md 2021-11-19 15:01:41 +00:00
Steve Ruiz
55124a52b4
fix routes (#306) 2021-11-19 14:33:15 +00:00
Steve Ruiz
01edde8f6a
Delete sponsors.yml 2021-11-19 14:14:45 +00:00
Steve Ruiz
0f104b31b3
Update sponsors.yml 2021-11-19 14:12:09 +00:00
Steve Ruiz
9aa61afc63
Update sponsors.yml 2021-11-19 14:06:55 +00:00
Steve Ruiz
df9eb6b7b0
Update README.md 2021-11-19 13:59:40 +00:00
Steve Ruiz
4377e39da5
Create sponsors.yml (#305) 2021-11-19 13:59:11 +00:00
Steve Ruiz
67a7935cfc
[fix] page options dialog (#302)
* fix rename pages

* Update sponsors.ts
2021-11-19 13:20:23 +00:00
Steve Ruiz
cd48b67a74
[chore] Sponsors in README (#301)
* Add images, read me links

* Add API route for sponsor image

* Update cache max age
2021-11-19 12:59:08 +00:00
Steve Ruiz
eb20f1c816
[fix] current style and selected style (#298)
* Fix selectedStyles from being new on each update

* Fix again

* Update TldrawApp.ts

* Fix log around current style and selected style

* Add stub test, move style menu into folder

* Cleanup repo

* cleanup context menu
2021-11-19 10:19:06 +00:00
Steve Ruiz
e0b607e512 Undo fixes 2021-11-18 19:54:20 +00:00
Steve Ruiz
e7f61eac34
Fix selectedStyles from being new on each update (#293) 2021-11-18 18:18:30 +00:00