Explain prevention of mouse mode by touch

This commit is contained in:
Unrud 2023-04-25 16:31:41 +02:00
parent 3c2bec8916
commit af116f4cfb

View file

@ -85,6 +85,7 @@ export default class UI {
}
#handleTouchend(event) {
// HACK: event.preventDefault doesn't reliably stop click events in Firefox (112)
this.#ignoreClickUntilTimeStamp = event.timeStamp + IGNORE_CLICK_AFTER_TOUCH_DURATION;
}