passive scroll events
This commit is contained in:
@@ -96,7 +96,7 @@ class Contextmenu<x, y>{
|
|||||||
event.stopImmediatePropagation();
|
event.stopImmediatePropagation();
|
||||||
this.makemenu(event.touches[0].clientX, event.touches[0].clientY, addinfo, other);
|
this.makemenu(event.touches[0].clientX, event.touches[0].clientY, addinfo, other);
|
||||||
}
|
}
|
||||||
});
|
},{passive:true});
|
||||||
return func;
|
return func;
|
||||||
}
|
}
|
||||||
static keepOnScreen(obj: HTMLElement){
|
static keepOnScreen(obj: HTMLElement){
|
||||||
|
Reference in New Issue
Block a user