passive scroll events

This commit is contained in:
MathMan05 2024-10-29 21:06:30 -05:00
parent 7f51b6c89f
commit 94ccfb2aed

View file

@ -96,7 +96,7 @@ class Contextmenu<x, y>{
event.stopImmediatePropagation();
this.makemenu(event.touches[0].clientX, event.touches[0].clientY, addinfo, other);
}
});
},{passive:true});
return func;
}
static keepOnScreen(obj: HTMLElement){