passive scroll events
This commit is contained in:
parent
7f51b6c89f
commit
94ccfb2aed
1 changed files with 1 additions and 1 deletions
|
@ -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){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue