diff --git a/src/components/ControlPanel.astro b/src/components/ControlPanel.astro index 355b7f2..d7741a4 100644 --- a/src/components/ControlPanel.astro +++ b/src/components/ControlPanel.astro @@ -3,17 +3,32 @@ import TuiSlider from "./TuiSlider.astro"; import TuiSegment from "./TuiSegment.astro"; import TuiToggle from "./TuiToggle.astro"; import TuiButton from "./TuiButton.astro"; -import { ChevronDown } from "@lucide/astro"; +import { + ChevronDown, + SlidersHorizontal, + Wand2, + Download, + RotateCcw, + SkipForward, + Layers, +} from "@lucide/astro"; --- diff --git a/src/components/Tooltip.astro b/src/components/Tooltip.astro index 928c533..47c9cc7 100644 --- a/src/components/Tooltip.astro +++ b/src/components/Tooltip.astro @@ -89,6 +89,9 @@ }; const showTooltip = (target: Element, e: MouseEvent) => { + // Only show on devices with hover capability (mouse) + if (!window.matchMedia("(hover: hover)").matches) return; + const title = target.getAttribute("data-tooltip-title"); const desc = target.getAttribute("data-tooltip-desc");