kopia lustrzana https://github.com/Tldraw/Tldraw
3ceebc82f8
This PR makes a small improvement to the way we measure distances. (Often we measure distances multiple times per frame per shape on the screen). In many cases, we compare a minimum distance. This makes those checks faster by avoiding a square root. ### Change Type - [x] `sdk` — Changes the tldraw SDK - [x] `improvement` — Improving existing features ### Release Notes - Improve performance of minimum distance checks. |
||
---|---|---|
.. | ||
Crop | ||
Brushing.ts | ||
Cropping.ts | ||
DraggingHandle.tsx | ||
EditingShape.ts | ||
Idle.ts | ||
PointingArrowLabel.ts | ||
PointingCanvas.ts | ||
PointingCropHandle.ts | ||
PointingHandle.ts | ||
PointingResizeHandle.ts | ||
PointingRotateHandle.ts | ||
PointingSelection.ts | ||
PointingShape.ts | ||
Resizing.ts | ||
Rotating.ts | ||
ScribbleBrushing.ts | ||
Translating.ts |