From f90f51efc76313556425182b49742c05f03f7027 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Sat, 12 Jun 2021 17:41:38 +0100 Subject: [PATCH] Reduces projection --- state/sessions/draw-session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/sessions/draw-session.ts b/state/sessions/draw-session.ts index 9994ce08d..fbd7816f6 100644 --- a/state/sessions/draw-session.ts +++ b/state/sessions/draw-session.ts @@ -84,7 +84,7 @@ export default class BrushSession extends BaseSession { const nextPrev = vec.med(this.previous, point) // A delta to project the projected point - const offset = vec.mul(vec.sub(nextPrev, this.previous), 2) + const offset = vec.sub(nextPrev, this.previous) this.previous = nextPrev