diff options
| author | bobzel <zzzman@gmail.com> | 2021-01-15 15:27:16 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-01-15 15:27:16 -0500 |
| commit | ba3bcbbf3f0ce8769acb6e84ac3aa8ac3a5c9694 (patch) | |
| tree | 6fe66f348d6cbab554bcace9a4c93f1558e263b2 /src/client/views/InkStrokeProperties.ts | |
| parent | 4eb2de2c53280104fc809bbd387ed97460312e69 (diff) | |
fixed more issues with audio Box - simplified decorations when selected. fixed dragging when not selected. added esc to stop dragging.
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 fcc6b9da0..ce7f3d8d9 100644 --- a/src/client/views/InkStrokeProperties.ts +++ b/src/client/views/InkStrokeProperties.ts @@ -220,7 +220,7 @@ export class InkStrokeProperties { ((ink[0].X === ink[ink.length - 1].X) && (ink[0].Y === ink[ink.length - 1].Y) && (i === 0 || i === ink.length - 1) && (controlNum === 0 || controlNum === ink.length - 1)) ) ? { X: ink[i].X - xDiff, Y: ink[i].Y - yDiff } : - { X: ink[i].X, Y: ink[i].Y }) + { X: ink[i].X, Y: ink[i].Y }); } const oldx = doc.x; const oldy = doc.y; |
