Steve Ruiz
|
22a9668b5c
|
[feature] Add `isStateful` flag for shape definitions (#130)
* Add `isStateful` flag for shape definitions
* Update useShapeTree.tsx
|
4 years ago |
Steve Ruiz
|
639f2412d1
|
Fix outline on non-draw-style rectangles
|
4 years ago |
Steve Ruiz
|
fc1dde724e
|
Makes keyboard events work again (#114)
|
4 years ago |
Steve Ruiz
|
2fe7923bc4
|
Support rotated shapes when pasting (#107)
|
4 years ago |
Steve Ruiz
|
b90c57bbc3
|
improve canvas positioning, fix zaxis reordering
|
4 years ago |
Steve Ruiz
|
4a99c13006
|
[feature] focus mode (#103)
* Adds isFocusMode
* Adds menu option, fixes scale for group dashes, scopes themes to each component based on id
* Add example for a "no size" embed
|
4 years ago |
Steve Ruiz
|
421989f827
|
Revert changes to translate3d
|
4 years ago |
Steve Ruiz
|
68efbf69fa
|
[fix] Fixes off-center bugs (#101)
* moves center from window center to center of element
* Removes onMount in Renderer, adds onBoundsChange
* Fix centered-g css
* Fix zoom to fit
|
4 years ago |
Steve Ruiz
|
2952aab8a8
|
Improves logic for when to display a group as hovered (#95)
|
4 years ago |
Steve Ruiz
|
17a7b15f9a
|
Changes usePosition to useLayoutEffect (#91)
|
4 years ago |
Steve Ruiz
|
820de45a35
|
Fix draw shape, menu
|
4 years ago |
Steve Ruiz
|
fc9b9fa3e3
|
expand arrow bounds based on interpolated points (#90)
|
4 years ago |
Steve Ruiz
|
2f4a1f97a2
|
big refactor
|
4 years ago |
Steve Ruiz
|
7f0cfd2c5a
|
Splits vectors and intersections into new packages
esbuild isn't currently tree shaking intersections, but that's a file where we could save some room
|
4 years ago |
Steve Ruiz
|
af81a98fa4
|
Fix jumpy shapes
|
4 years ago |
Steve Ruiz
|
d79f66da4e
|
Fix null issues (more to do here)
|
4 years ago |
Steve Ruiz
|
c004ed5e56
|
Fix text scrolling
|
4 years ago |
Steve Ruiz
|
dea7d5c7d4
|
Push a few more methods to the base shape utils class
|
4 years ago |
Steve Ruiz
|
f4e8631482
|
Increase padding
|
4 years ago |
Steve Ruiz
|
5359e92771
|
Move SVG container to shape implementations
|
4 years ago |
Steve Ruiz
|
e7987ca451
|
moves to div renderer
|
4 years ago |
Steve Ruiz
|
64e5edbd6f
|
Fix test and accidental files from dev, fix container styles
|
4 years ago |
Steve Ruiz
|
9194ee7522
|
Tweak dev server
|
4 years ago |
Steve Ruiz
|
44e1c7dfdc
|
Adds independent zooms, prevents elements from effecting root or body
|
4 years ago |
Steve Ruiz
|
b00e0d3a95
|
Improves pan and zoom gestures
|
4 years ago |
Steve Ruiz
|
8154ed5a2a
|
Adjusts small example, makes inputs unique to each instance
|
4 years ago |
Steve Ruiz
|
4e13b0e07b
|
Allow for resets when id changes
|
4 years ago |
Steve Ruiz
|
87ffff5097
|
Updates deps, pointerMove event handlers
|
4 years ago |
Steve Ruiz
|
37985f3842
|
Revert "Merge branch 'next' of https://github.com/tldraw/tldraw into next"
This reverts commit 221eb7b10e, reversing
changes made to fbbaf08513.
|
4 years ago |
Steve Ruiz
|
6de0dfee8a
|
bumps stitches to 1.0.0, allows move events to propagate correctly
|
4 years ago |
Steve Ruiz
|
9461935aca
|
closing in on group selection bugs
|
4 years ago |
Steve Ruiz
|
a1a213f9b4
|
Starts on groups, fixes duplicate bugs with bindings
|
4 years ago |
Steve Ruiz
|
f6934dedb8
|
Adds copy, fix bug on mutating bound shapes, adds binding indicator, adds binding to text
|
4 years ago |
Steve Ruiz
|
62a3da0498
|
Fix arrow bend behavior
|
4 years ago |
Steve Ruiz
|
64d00dc427
|
Replaces isDarkMode with meta, a more flexible option for custom rendering context
|
4 years ago |
Steve Ruiz
|
c353fd257f
|
Adds dark mode
|
4 years ago |
Steve Ruiz
|
840532142e
|
bumps perfect-freehand, improves draw dots
|
4 years ago |
Steve Ruiz
|
429a5e6171
|
Adds right click to select, fixes spacing in context menu, improves draw session
|
4 years ago |
Steve Ruiz
|
fc321cc757
|
Fix duplicate page
|
4 years ago |
Steve Ruiz
|
07dcfb8df5
|
Implements multiple pages
|
4 years ago |
Steve Ruiz
|
ccb8876d8b
|
All tests passing
|
4 years ago |
Steve Ruiz
|
8c02e0df84
|
Improves types and imports!
|
4 years ago |