fix: fragmentation

This commit is contained in:
fraujulian committed 2026-05-14 14:57:54 +02:00
1 parent 13693165df
commit 9cc7249278
3 files changed
+32 -8

No files matched your search

+4 -1
View File
@@ -227,8 +227,11 @@ export class HomeComponent implements OnInit, AfterViewInit, OnDestroy {
const prefersReducedMotion: boolean = window.matchMedia(
'(prefers-reduced-motion: reduce)',
).matches;
const usesTouchScrolling: boolean = window.matchMedia(
'(hover: none) and (pointer: coarse)',
).matches;
return !prefersReducedMotion;
return !prefersReducedMotion && !usesTouchScrolling;
}
private initNameGradientScrollAnimation(): void {