diff options
| author | mehekj <mehek.jethani@gmail.com> | 2022-05-04 13:43:28 -0400 |
|---|---|---|
| committer | mehekj <mehek.jethani@gmail.com> | 2022-05-04 13:43:28 -0400 |
| commit | 33fc3811e758441e7344706004feba1599d8d833 (patch) | |
| tree | 8c04fe9feba92356a8ecf4fd064be385f52dbf0e /src | |
| parent | f484500cb96213f6291eb3977a614a672d778441 (diff) | |
remove scaling (for now)
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/views/InkTranscription.tsx | 4 |
1 files 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) }; |
