tldraw/packages/vec/CHANGELOG.md
Steve Ruiz bb077762c5
[fix] Arrow bindings + labels (#558)
* Fix label colors for arrow / triangle shapes in dark mode

* Fix bouncy arrow label, add tests, remove redundant call to updateBindings, remove redundant call to updateArrowBinding
2022-02-03 10:09:06 +00:00

1.8 KiB

Changelog

1.6.1

  • Change vec.toFixed to always round to two decimal places. This drops the second parameter, which was previously available for custom precisions, but which was defaulted to 2 (its current behavior).

1.4.3

  • Update README
  • Update LICENSE year

0.1.21

New:

  • Adds the isGhost prop to TLShape. In TLComponentProps, the isGhost prop will be true if either a shape has its isGhost set to true OR if a shape is the descendant of a shape with isGhost set to true. A ghost shape will have the tl-ghost class name, though this is not used in the Renderer. You can set it yourself in your app.
  • Adds the isChildOfSelected prop for TLComponentProps. If a shape is the child of a selected shape, its isChildOfSelected prop will be true.

Improved:

  • Fixes a bug that could occur with the order of grouped shapes.
  • Adds an Eraser tool to the advanced example.
  • Adds a Pencil tool to the advanced example.

0.1.20

  • Update docs.
  • Adds hideResizeHandles prop.

0.1.19

  • Remove stray index.js files.

0.1.18

  • Even more dependency fixes.

0.1.17

  • More dependency fixes.

0.1.16

  • Fix dependencies, remove @use-gesture/react from bundle.

0.1.15

  • Fix README.

0.1.14

  • Add README to package.

0.1.13

  • Remove type from TLBinding.

0.1.12

  • Fix bug with initial bounds.

0.1.12

  • Fix bug with initial bounds.

0.1.12

  • Fix bug with bounds handle events.

0.1.11

  • Fix bug with initial camera state.

0.1.10

  • Improve example.
  • Improve types for TLPage.

0.1.9

  • Bug fixes.

0.1.8

  • Expands README.
  • Removes properties specific to the tldraw app.

0.1.7

  • Fixes selection bug with SVGContainer.
  • Removes various properties specific to the tldraw app.

0.1.0

  • Re-writes API for ShapeUtils.