mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix(deps): update typescript-projects (#24163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
+2
-2
@@ -28,7 +28,7 @@
|
||||
"@formatjs/icu-messageformat-parser": "^2.9.8",
|
||||
"@immich/justified-layout-wasm": "^0.4.3",
|
||||
"@immich/sdk": "file:../open-api/typescript-sdk",
|
||||
"@immich/ui": "^0.43.0",
|
||||
"@immich/ui": "^0.45.0",
|
||||
"@mapbox/mapbox-gl-rtl-text": "0.2.3",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"@photo-sphere-viewer/core": "^5.14.0",
|
||||
@@ -97,7 +97,7 @@
|
||||
"prettier-plugin-sort-json": "^4.1.1",
|
||||
"prettier-plugin-svelte": "^3.3.3",
|
||||
"rollup-plugin-visualizer": "^6.0.0",
|
||||
"svelte": "5.43.0",
|
||||
"svelte": "5.43.12",
|
||||
"svelte-check": "^4.1.5",
|
||||
"svelte-eslint-parser": "^1.3.3",
|
||||
"tailwindcss": "^4.1.7",
|
||||
|
||||
@@ -351,7 +351,10 @@
|
||||
void onScrub?.(scrubData);
|
||||
};
|
||||
const getTouch = (event: TouchEvent) => {
|
||||
// desktop safari does not support this since Apple does not have desktop touch devices
|
||||
// eslint-disable-next-line tscompat/tscompat
|
||||
if (event.touches.length === 1) {
|
||||
// eslint-disable-next-line tscompat/tscompat
|
||||
return event.touches[0];
|
||||
}
|
||||
return null;
|
||||
@@ -362,6 +365,8 @@
|
||||
isHover = false;
|
||||
return;
|
||||
}
|
||||
// desktop safari does not support this since Apple does not have desktop touch devices
|
||||
// eslint-disable-next-line tscompat/tscompat
|
||||
const elements = document.elementsFromPoint(touch.clientX, touch.clientY);
|
||||
const isHoverScrollbar =
|
||||
findElementBestY(elements, 0, 'scrubber', 'time-label', 'lead-in', 'lead-out') !== undefined;
|
||||
@@ -370,6 +375,7 @@
|
||||
|
||||
if (isHoverScrollbar) {
|
||||
handleMouseEvent({
|
||||
// eslint-disable-next-line tscompat/tscompat
|
||||
clientY: touch.clientY,
|
||||
isDragging: true,
|
||||
});
|
||||
@@ -388,6 +394,7 @@
|
||||
const touch = getTouch(event);
|
||||
if (touch && isDragging) {
|
||||
handleMouseEvent({
|
||||
// eslint-disable-next-line tscompat/tscompat
|
||||
clientY: touch.clientY,
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user