We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac240e1 commit 191eb4bCopy full SHA for 191eb4b
web/share/js/kvm/mouse.js
@@ -245,8 +245,8 @@ export function Mouse(__getGeometry, __recordWsEvent) {
245
if (__scroll_touch_pos === null) {
246
__scroll_touch_pos = pos;
247
} else {
248
- let dx = pos.x - __scroll_touch_pos.x;
249
- let dy = pos.y - __scroll_touch_pos.y;
+ let dx = __scroll_touch_pos.x - pos.x;
+ let dy = __scroll_touch_pos.y - pos.y;
250
if (Math.abs(dx) < 15) {
251
dx = 0;
252
}
0 commit comments