mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-01 13:17:20 +02:00
Cleanup
This commit is contained in:
parent
ef85175a91
commit
c8142e5079
2
dist/better-xcloud.lite.user.js
vendored
2
dist/better-xcloud.lite.user.js
vendored
@ -3080,7 +3080,7 @@ class NativeMkbHandler extends MkbHandler {
|
||||
data.Type = 0, this.inputSink?.onMouseInput(data);
|
||||
}
|
||||
resetMouseInput() {
|
||||
this.mouseButtonsPressed = 0, this.mouseWheelX = 0, this.mouseWheelY = 0, this.sendMouseInput({
|
||||
this.mouseButtonsPressed = 0, this.sendMouseInput({
|
||||
X: 0,
|
||||
Y: 0,
|
||||
Buttons: 0,
|
||||
|
2
dist/better-xcloud.user.js
vendored
2
dist/better-xcloud.user.js
vendored
@ -3229,7 +3229,7 @@ class NativeMkbHandler extends MkbHandler {
|
||||
data.Type = 0, this.inputSink?.onMouseInput(data);
|
||||
}
|
||||
resetMouseInput() {
|
||||
this.mouseButtonsPressed = 0, this.mouseWheelX = 0, this.mouseWheelY = 0, this.sendMouseInput({
|
||||
this.mouseButtonsPressed = 0, this.sendMouseInput({
|
||||
X: 0,
|
||||
Y: 0,
|
||||
Buttons: 0,
|
||||
|
@ -279,8 +279,6 @@ export class NativeMkbHandler extends MkbHandler {
|
||||
|
||||
private resetMouseInput() {
|
||||
this.mouseButtonsPressed = 0;
|
||||
this.mouseWheelX = 0;
|
||||
this.mouseWheelY = 0;
|
||||
|
||||
this.sendMouseInput({
|
||||
X: 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user