mirror of
https://github.com/FlamedDogo99/EaglerMobile.git
synced 2024-11-23 12:36:05 -08:00
Update eaglermobile.user.js
This commit is contained in:
parent
0a58a80228
commit
27cda8af92
|
@ -219,10 +219,7 @@ function insertCanvasElements() {
|
|||
}
|
||||
e.movementX = touch.pageX - previousX;
|
||||
e.movementY = touch.pageY - previousY;
|
||||
var evt = new MouseEvent("mousemove", {
|
||||
movementX: e.movementX,
|
||||
movementY: e.movementY
|
||||
});
|
||||
var evt = window.fakelock ? new MouseEvent("mousemove", {movementX: e.movementX, movementY: e.movementY}) : new WheelEvent("wheel", {"wheelDeltaY": e.movementY});
|
||||
canvas.dispatchEvent(evt);
|
||||
previousX = touch.pageX;
|
||||
previousY = touch.pageY;
|
||||
|
|
Loading…
Reference in New Issue
Block a user