Thomas Mathisen
34492f2f01
Bugfix: onPointerDown not called ( #451 )
...
* onPointShape called instead of onPointerDown
* Update useShapeEvents.tsx
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-12-17 16:02:13 +00:00
Jim Fisher
2bc927f68e
Bugfix: 'Copy as SVG' shapes have black fill by default ( #449 )
...
* Bugfix: 'Copy as SVG' shapes have black fill by default
* Remove binding hit areas from copied SVG
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-12-17 15:23:03 +00:00
Milo Hill
1271070798
Fix changing a setting preventing page content from being replaced ( #447 )
...
* Fix setting settings preventing UI from updating
* Add tests for replacePageContent
2021-12-15 21:14:40 +00:00
Steve Ruiz
ec203332de
Update TldrawApp.ts
2021-12-13 09:08:35 +00:00
Steve Ruiz
693c0c848f
Update TldrawApp.ts
2021-12-13 09:07:25 +00:00
Steve Ruiz
580248a3af
v1.2.7
2021-12-12 21:45:57 +00:00
Steve Ruiz
91da95de1c
remove react-id dep
2021-12-12 21:45:21 +00:00
Steve Ruiz
5e6a4939d1
Removes faulty error boundary from core, removes faulty ID provider from tldraw
2021-12-12 21:44:44 +00:00
Steve Ruiz
ec7fbd2033
v1.2.6
2021-12-12 21:21:10 +00:00
Steve Ruiz
82dd2e2497
Update CHANGELOG.md
2021-12-12 21:15:32 +00:00
Steve Ruiz
5b8d4fe1fa
no minify
2021-12-12 21:14:58 +00:00
Steve Ruiz
dddda7f230
v1.2.5
2021-12-10 16:10:22 +00:00
Steve Ruiz
8d9629586c
v1.2.5
2021-12-10 16:08:17 +00:00
Steve Ruiz
0c31c732e8
Update test
2021-12-10 16:07:33 +00:00
Steve Ruiz
45c0febdad
fix selection for filled shapes
2021-12-09 22:55:52 +00:00
Steve Ruiz
eb234330dd
Fix rotation binding for triangles
2021-12-09 22:38:23 +00:00
Elizabeth Louie
c5124b160e
add triangle tool ( #433 )
...
* add triangle tool
* fix keyboard shortcuts
* cleaned code
* Add binding, better indicator, bounds
* Fix tests
* Refactor getBindingPoint, binding distances, add comments to getBindingPoint
* Update TextUtil.spec.tsx.snap
* fix intersection math
* fix ellipse indicator
* Update EllipseUtil.tsx
* Update BrushSession.spec.ts
* Add draw style to triangle
* improve strokes
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-12-09 22:29:09 +00:00
Steve Ruiz
86c651764c
Filled shapes may be selected from the center ( #440 )
2021-12-08 14:20:22 +00:00
Steve Ruiz
52ae47371d
[improvement] Select unfilled shapes by clicking on their stroke ( #438 )
...
* removes touch events from middle of shapes
* Improve ellipse
* selectable stroke when not selected, fill when selected
* Update BrushSession.spec.ts
* Fix test
2021-12-07 20:48:56 +00:00
megnakokkalera
c67c0871ff
Fix/undo on menu open ( #436 )
...
* fix for undo button on menu open
* Change toggle to set, add option for keyboard events
* Update .gitignore
* Update .gitignore
* Remove isStyleOpen
* Remove isStyleOpen
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-12-06 18:23:53 +00:00
0xflotus
0db19e3043
fix: small typo error ( #437 )
2021-12-06 01:02:53 +00:00
Steve Ruiz
8038e64a86
v1.2.4
2021-12-04 14:56:24 +00:00
Steve Ruiz
f2c6dc6f9f
Update CHANGELOG.md
2021-12-04 14:55:22 +00:00
Steve Ruiz
c67211fc52
Update CHANGELOG.md
2021-12-04 14:55:09 +00:00
Steve Ruiz
487d6ed4ee
Update CHANGELOG.md
2021-12-04 14:53:37 +00:00
Steve Ruiz
0039dd2e66
Restore onPersist ( #435 )
2021-12-04 14:51:40 +00:00
Siddhartha Varma
5fe09733af
fix: update ungroup shortcut ( #434 )
2021-12-04 10:42:45 +00:00
Steve Ruiz
2a833dd408
Update useMultiplayerState.ts
2021-12-02 17:59:51 +00:00
Steve Ruiz
fae66549c7
v1.2.3
2021-12-02 13:06:43 +00:00
Braden
522baf5b61
[fix] account for "draft" shapes when preserving selection state during replacePageContent ( #427 )
...
* account for "virtual" shapes when preserving appState
* rewrite merge logic
* More work on multiplayer
* Update TldrawApp.ts
* Improve logic around when to replace page content
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-12-02 12:49:07 +00:00
Steve Ruiz
33acf03004
[fix] multiplayer (sorta) ( #426 )
...
* Fix multiplayer
* Update TldrawApp.ts
* Update TldrawApp.ts
* Update TldrawApp.ts
2021-12-01 22:31:19 +00:00
Steve Ruiz
0334ac0f30
Fix alt zoom ( #424 )
2021-12-01 14:25:56 +00:00
Steve Ruiz
e0100949a5
Update EraseSession.ts ( #423 )
2021-12-01 14:08:27 +00:00
Yao Wang
ed8e3f252d
fix the wrong spelling ( #419 )
2021-12-01 13:48:51 +00:00
Braden
17c34b2d7d
Fix iteration over deleted bindings during page change ( #421 )
2021-12-01 13:48:37 +00:00
Francois Laberge
3856d3d5c4
revert example tldr file to Black
2021-11-30 16:39:45 -05:00
Francois Laberge
3b2c09f8da
You are red
2021-11-30 15:33:18 -05:00
Yao Wang
2c28012839
fix(paste): do not warn in production ( #409 )
...
- when paste the content from clipboard, if the content is not JSON, the `JSON.parse` parse error will be thrown. The info should not be in production build.
Closes #400
2021-11-28 22:00:01 +00:00
Eivind Ingebrigtsen
ac648da2c5
⌨️ Changing keyboard shortcuts for pen and oval ( #407 )
2021-11-28 14:54:51 +00:00
Francois Laberge
a1dd79ce35
Fix Text Editing Issues in VS Code Extension ( #399 )
...
* Temp change so I can create a PR
* Have select all,copy/paste/cut, and undo/redo working for text/sticky shapes in VS Code extension
* cleanup
* removed some semi colons
* Ran prettier
* More cleanup
* Adds stopPropagation for native context menu
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-28 14:53:35 +00:00
Steve Ruiz
a816ceaa64
bump deps, add version to root package
2021-11-28 13:59:36 +00:00
Yao Wang
7522d25557
fix(core advance example): display right state ( #406 )
2021-11-28 13:07:17 +00:00
Steve Ruiz
5c0e4fad11
Upadte changelogs
2021-11-28 10:30:16 +00:00
Steve Ruiz
03cfea6404
v1.2.2
2021-11-28 10:25:17 +00:00
Steve Ruiz
2ad6b45ccc
v1.2.1
2021-11-28 10:24:42 +00:00
Steve Ruiz
3ab5db27b9
v1.2.1
2021-11-28 10:19:29 +00:00
Steve Ruiz
893e3dee41
v1.2.0
2021-11-28 10:18:55 +00:00
Steve Ruiz
7bf5f5fd8a
v1.2.0
2021-11-28 10:16:30 +00:00
Steve Ruiz
a74ef41c10
Update package.json
2021-11-28 10:15:29 +00:00
Steve Ruiz
0fe3d80fa4
v1.1.11
2021-11-28 10:10:09 +00:00