diff options
| author | Fuwn <[email protected]> | 2026-05-20 12:15:31 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-20 12:15:31 +0000 |
| commit | 5bb94cc4c515bbab5b44b43a82dca42368671219 (patch) | |
| tree | 05001f3db0308717a30f017309f627c3c1b8946d /src/lib/Tooltip/LinkedTooltip.svelte | |
| parent | feat(a11y): rename Disable Page Transitions to Reduce Motion (diff) | |
| download | due.moe-5bb94cc4c515bbab5b44b43a82dca42368671219.tar.xz due.moe-5bb94cc4c515bbab5b44b43a82dca42368671219.zip | |
Diffstat (limited to 'src/lib/Tooltip/LinkedTooltip.svelte')
| -rw-r--r-- | src/lib/Tooltip/LinkedTooltip.svelte | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Tooltip/LinkedTooltip.svelte b/src/lib/Tooltip/LinkedTooltip.svelte index 2a7961f5..4776322d 100644 --- a/src/lib/Tooltip/LinkedTooltip.svelte +++ b/src/lib/Tooltip/LinkedTooltip.svelte @@ -217,6 +217,7 @@ const hideTooltip = () => { const handleMouseEnter = (event: MouseEvent) => { if (disable) return; + if (window.matchMedia("(pointer: coarse)").matches) return; if (hideTimeout !== null) { clearTimeout(hideTimeout); |