Skip to content

Commit

Permalink
syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
JosuaKrause committed Jul 28, 2023
1 parent 8caab3f commit 50f1d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export function convertMousePosition(canvas, measures, snap, e) {
}

export function convertTouchPosition(canvas, measures, snap, e) {
const [x, y, w] = [...(e.touches ? e.touches : e.changedTouches].reduce(
const [x, y, w] = [...(e.touches ? e.touches : e.changedTouches)].reduce(
(p, t) => {
const weight = Number.isFinite(+t.force) ? t.force : 1;
return [
Expand Down

0 comments on commit 50f1d2e

Please sign in to comment.