mirror of
https://github.com/immich-app/immich.git
synced 2025-12-22 09:15:34 +03:00
ci: browser compatibility linting (#19132)
This commit is contained in:
@@ -310,6 +310,7 @@
|
||||
|
||||
void onScrub?.(segmentDate!, scrollPercent, monthGroupPercentY);
|
||||
};
|
||||
/* eslint-disable tscompat/tscompat */
|
||||
const getTouch = (event: TouchEvent) => {
|
||||
if (event.touches.length === 1) {
|
||||
return event.touches[0];
|
||||
@@ -354,6 +355,7 @@
|
||||
isHover = false;
|
||||
}
|
||||
};
|
||||
/* eslint-enable tscompat/tscompat */
|
||||
onMount(() => {
|
||||
document.addEventListener('touchmove', onTouchMove, true);
|
||||
return () => {
|
||||
|
||||
Reference in New Issue
Block a user