Steve Ruiz
8fd9cf8389
[feature] UX preferences (#172)
* Improves snapping util, styles corner buttons, adds preferences
* Update bounds.test.tsx
* Update preferences.tsx
* Update preferences.tsx
* Change copy
hace 4 años
Steve Ruiz
a7e8fafb96
Adds up and downstream links (#171)
hace 4 años
Steve Ruiz
235a57d302
Adds indicator for text, linked translate
hace 4 años
Steve Ruiz
0cfc68b004
[feature] snapping (#168)
* defer cloning
* basic snapping
* Improves algorithm for snap points, rendering
* Improves snapping, snaplines
* Enables a clone to snap to its parent
* Adds overlay
* Fix overlay, zoom scaling for distance and speed
hace 4 años
Steve Ruiz
db62005251
Fix dark theme UI (#161)
* Fix theming
* Cleanup
* Update tldraw.tsx
hace 4 años
Steve Ruiz
1ec0434a3c
[improvement] improve performance (#151)
* Remove context menu
* Update stitches elements
* Update yarn.lock
* Fix bug on bounds bg
* Adds timer for will-change
* remove zindex
* jesus christ, just an extra div
* Remove will change timer
hace 4 años
Steve Ruiz
f8516a2c4a
Fix pinching on tools other than select
hace 4 años
Steve Ruiz
46c9ac508d
[feature] Side cloning (#149)
* Adds side clone behavior
* Adds tab to clone, fixes wheel
* Fix bug in draw shape
* Passing tests
hace 4 años
Steve Ruiz
d95a2e83a0
Fix handles when drawing
hace 4 años
Steve Ruiz
f8cb7f03b6
Adds space panning, tweak css for performance
hace 4 años
Steve Ruiz
e1c307fd71
[feature] sticky notes (#148)
* Refactor toolbar
* Adds containerRef prop
* Fix arrows for groups
* Adds auto focus
* Notes on blurring
* Upgrades to match main
* Loose ends around sticky notes
* Fixes user select
* Passing tests
* Update sticky.tsx
hace 4 años
Steve Ruiz
1408ac2cbe
Refactor tools (#147)
* Refactor Tools
* Update text.tsx
* Passing tests
* Error fixes
* Fix re-selecting tool
* Fix arrow
hace 4 años
Steve Ruiz
93827e45dd
Adds indicators for selected shapes from other users
hace 4 años
Steve Ruiz
c49b2e684a
[improvement] stroke appearance (#142)
* make default style small, adjust font sizes and stroke widths
* Reduce size of handle click area
* Make save command+shift+s (just persists)
* Update stroke width for arrow
* Update stroke width for draw
* Update stroke width for ellipse
* Update stroke width for rectangle
* Tweak dash algorithm
* Updates snapshot
hace 4 años
Steve Ruiz
d6b38ed79e
[feature] Live cursors MVP (#137)
* Adds very basic live cursors
* Adds ability to hide pages / menu
hace 4 años
Steve Ruiz
798bae28ca
Set zoom scale bounds based on camera zoom
hace 4 años
Steve Ruiz
5c9e148ad8
Rough fix for zoom events
hace 4 años
Steve Ruiz
22a9668b5c
[feature] Add `isStateful` flag for shape definitions (#130)
* Add `isStateful` flag for shape definitions
* Update useShapeTree.tsx
hace 4 años
Steve Ruiz
639f2412d1
Fix outline on non-draw-style rectangles
hace 4 años
Steve Ruiz
fc1dde724e
Makes keyboard events work again (#114)
hace 4 años
Steve Ruiz
2fe7923bc4
Support rotated shapes when pasting (#107)
hace 4 años
Steve Ruiz
b90c57bbc3
improve canvas positioning, fix zaxis reordering
hace 4 años
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
hace 4 años
Steve Ruiz
421989f827
Revert changes to translate3d
hace 4 años
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
hace 4 años
Steve Ruiz
2952aab8a8
Improves logic for when to display a group as hovered (#95)
hace 4 años
Steve Ruiz
17a7b15f9a
Changes usePosition to useLayoutEffect (#91)
hace 4 años
Steve Ruiz
820de45a35
Fix draw shape, menu
hace 4 años
Steve Ruiz
fc9b9fa3e3
expand arrow bounds based on interpolated points (#90)
hace 4 años
Steve Ruiz
2f4a1f97a2
big refactor
hace 4 años
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
hace 4 años
Steve Ruiz
af81a98fa4
Fix jumpy shapes
hace 4 años
Steve Ruiz
d79f66da4e
Fix null issues (more to do here)
hace 4 años
Steve Ruiz
c004ed5e56
Fix text scrolling
hace 4 años
Steve Ruiz
dea7d5c7d4
Push a few more methods to the base shape utils class
hace 4 años
Steve Ruiz
f4e8631482
Increase padding
hace 4 años
Steve Ruiz
5359e92771
Move SVG container to shape implementations
hace 4 años
Steve Ruiz
e7987ca451
moves to div renderer
hace 4 años
Steve Ruiz
64e5edbd6f
Fix test and accidental files from dev, fix container styles
hace 4 años
Steve Ruiz
9194ee7522
Tweak dev server
hace 4 años
Steve Ruiz
44e1c7dfdc
Adds independent zooms, prevents elements from effecting root or body
hace 4 años
Steve Ruiz
b00e0d3a95
Improves pan and zoom gestures
hace 4 años
Steve Ruiz
8154ed5a2a
Adjusts small example, makes inputs unique to each instance
hace 4 años
Steve Ruiz
4e13b0e07b
Allow for resets when id changes
hace 4 años
Steve Ruiz
87ffff5097
Updates deps, pointerMove event handlers
hace 4 años
Steve Ruiz
37985f3842
Revert "Merge branch 'next' of https://github.com/tldraw/tldraw into next"
This reverts commit 221eb7b10e , reversing
changes made to fbbaf08513 .
hace 4 años
Steve Ruiz
6de0dfee8a
bumps stitches to 1.0.0, allows move events to propagate correctly
hace 4 años
Steve Ruiz
9461935aca
closing in on group selection bugs
hace 4 años
Steve Ruiz
a1a213f9b4
Starts on groups, fixes duplicate bugs with bindings
hace 4 años
Steve Ruiz
f6934dedb8
Adds copy, fix bug on mutating bound shapes, adds binding indicator, adds binding to text
hace 4 años