mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
revert stroke slicing hack for knot
This commit is contained in:
parent
e48b63a0ae
commit
5cf18b5926
1 changed files with 1 additions and 5 deletions
|
@ -191,11 +191,7 @@ export class AnimatedTrail implements Trail {
|
|||
});
|
||||
|
||||
const stroke = this.trailAnimation
|
||||
? _stroke.slice(
|
||||
// slicing from 6th point to get rid of the initial notch type of thing
|
||||
Math.min(_stroke.length, 6),
|
||||
_stroke.length / 2,
|
||||
)
|
||||
? _stroke.slice(0, _stroke.length / 2)
|
||||
: _stroke;
|
||||
|
||||
return getSvgPathFromStroke(stroke, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue