Skip to content

Commit

Permalink
fix dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
ksqsf committed Sep 25, 2024
1 parent 9979b94 commit 69efd61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion page/ux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ receiver.addEventListener('mousemove', (e) => {
dX += dx
dY += dy
dragOffset = Math.max(dragOffset, dX * dX + dY * dY)
resize(0, dx, dy, true, false)
resize(-1, dx, dy, true, false)
})

receiver.addEventListener('mouseup', (e) => {
Expand Down

0 comments on commit 69efd61

Please sign in to comment.