diff options
| author | bobzel <zzzman@gmail.com> | 2022-01-18 12:10:47 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-01-18 12:10:47 -0500 |
| commit | 66fb0e4bbf88a5e9bcb5869dd7c8b8a7714de024 (patch) | |
| tree | a73266808167bdfc057cee44bb8d40c31b993edb /src/client/views/InkStrokeProperties.ts | |
| parent | 4cdfa6c29701d372064eb4dc612807a27cb19857 (diff) | |
fixed warnings. display last user to edit db. fixed /activity to show only users with a connected socket. fixed toggle "Overlay" button to toggle its background based on overlay state.
Diffstat (limited to 'src/client/views/InkStrokeProperties.ts')
| -rw-r--r-- | src/client/views/InkStrokeProperties.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/InkStrokeProperties.ts b/src/client/views/InkStrokeProperties.ts index cab4e1216..41cace1e3 100644 --- a/src/client/views/InkStrokeProperties.ts +++ b/src/client/views/InkStrokeProperties.ts @@ -251,7 +251,7 @@ export class InkStrokeProperties { samplesLeft.push(new Point(pt.x, pt.y)); } } - var { finalCtrls, error } = FitOneCurve(samplesLeft, { X: startDir.x, Y: startDir.y }, { X: endDir.x, Y: endDir.y }); + var { finalCtrls } = FitOneCurve(samplesLeft, { X: startDir.x, Y: startDir.y }, { X: endDir.x, Y: endDir.y }); for (var i = nearestSeg / 4; i < splicedPoints.length / 4; i++) { const bez = new Bezier(splicedPoints.slice(i * 4, i * 4 + 4).map(p => ({ x: p.X, y: p.Y }))); if (i === nearestSeg / 4) startDir = bez.derivative(nearestT); |
