[tech debt] Primitives renaming party / cleanup (#2396)
This PR: - renames Vec2d to Vec - renames Vec2dModel to VecModel - renames Box2d to Box - renames Box2dModel to BoxModel - renames Matrix2d to Mat - renames Matrix2dModel to MatModel - removes unused primitive helpers - removes unused exports - removes a few redundant tests in dgreensp ### Change Type - [x] `major` — Breaking change ### Release Notes - renames Vec2d to Vec - renames Vec2dModel to VecModel - renames Box2d to Box - renames Box2dModel to BoxModel - renames Matrix2d to Mat - renames Matrix2dModel to MatModel - removes unused primitive helpers
This commit is contained in:
parent
afd5af1cb6
commit
6b1005ef71
159 changed files with 4757 additions and 5319 deletions
|
@ -24,7 +24,7 @@ const EvenInnererIndicator = ({ shape, util }: { shape: TLShape; util: ShapeUtil
|
|||
return useStateTracking('Indicator:' + shape.type, () => util.indicator(shape))
|
||||
}
|
||||
|
||||
export const InnerIndicator = ({ editor, id }: { editor: Editor; id: TLShapeId }) => {
|
||||
const InnerIndicator = ({ editor, id }: { editor: Editor; id: TLShapeId }) => {
|
||||
const shape = useValue('shape', () => new ShapeWithPropsEquality(editor.store.get(id)), [
|
||||
editor,
|
||||
id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue