From 33fc3811e758441e7344706004feba1599d8d833 Mon Sep 17 00:00:00 2001 From: mehekj Date: Wed, 4 May 2022 13:43:28 -0400 Subject: remove scaling (for now) --- src/client/views/InkTranscription.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/views/InkTranscription.tsx b/src/client/views/InkTranscription.tsx index 0e8ccd57b..ef4510f38 100644 --- a/src/client/views/InkTranscription.tsx +++ b/src/client/views/InkTranscription.tsx @@ -142,8 +142,8 @@ export class InkTranscription extends React.Component { return { "pointerType": "PEN", "pointerId": 1, - "x": stroke.map(point => (point.X - panX) * scale), - "y": stroke.map(point => (point.Y - panY) * scale), + "x": stroke.map(point => point.X), + "y": stroke.map(point => point.Y), "t": new Array(stroke.length).fill(time), "p": new Array(stroke.length).fill(1.0) }; -- cgit v1.2.3-70-g09d2