Commit graph

1117 commits

Author SHA1 Message Date
Steve Ruiz
99e51177c2 fix-vscode-kbds 2021-11-26 22:01:53 +00:00
Steve Ruiz
a8f2522d20 v1.1.5 2021-11-26 17:15:54 +00:00
Proful Sadangi
7563575ef5
[Bug] Added visibility of clone tool (#381)
* [bug] Added display of clone buttons

* Reverted changes from sticky notes

* feat show those style options when the text tool is selected

* Add clone handles to sticky

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-26 17:12:27 +00:00
Christian Petersen
e2814943e9
[feature] Add grids (#344)
* [feature] grids

* Shows relative grids at different zoom levels

* Update colors

* Restores vec and intersect to monorepo, changes vec.round to vec.toFixed, adds vec.snap

* Snapping in translate and transforms, fix shortcut

* fix bugs in build

* use grid size for nudge too

* update scripts

* Update grid.tsx

* Update grid.tsx

* Fixed!

* Update grid.tsx

* Fix package imports

* Update Editor.tsx

* Improve tsconfigs, imports

* Fix tiny arrow bugs, snap starting points to grid

* Update tsconfig.base.json

* Update shape-styles.ts

* Fix example tsconfig

* Fix translate type error

* Fix types, paths

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-26 15:14:10 +00:00
Steve Ruiz
3de6ef334a
Period key works as pointer down / up (#377) 2021-11-24 18:07:31 +00:00
Steve Ruiz
59e351c779 Fix line color 2021-11-24 18:03:05 +00:00
Proful Sadangi
1f7f779506
feature middle mouse wheel pan (#364) 2021-11-24 10:01:17 +00:00
Steve Ruiz
101a0cd7a8
fix pasted lines (#362) 2021-11-24 09:09:20 +00:00
Steve Ruiz
55b27b9e1f Fix icons on ios 2021-11-23 16:34:52 +00:00
Steve Ruiz
8328a7a9f7 add large breakpoint for undo/redo 2021-11-23 15:29:11 +00:00
Steve Ruiz
4b946edeac v1.1.4 2021-11-23 15:13:39 +00:00
Steve Ruiz
010a2c75be Update CHANGELOG.md 2021-11-23 15:13:02 +00:00
Steve Ruiz
a78bcc5f63
Update CONTRIBUTING.md 2021-11-23 15:09:51 +00:00
Steve Ruiz
d0206f485e
Improve style menu (#361)
* Change undo / redo icons, add undo/redo buttons, add Styles label

* Update TopPanel.tsx

* Fix breakpoints
2021-11-23 15:06:16 +00:00
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