diff --git a/src/lib/components/AudioOutputBadges.svelte b/src/lib/components/AudioOutputBadges.svelte index a19549eea..9ad1dcd92 100644 --- a/src/lib/components/AudioOutputBadges.svelte +++ b/src/lib/components/AudioOutputBadges.svelte @@ -67,79 +67,70 @@ }); -{#if shouldShowBadges} +
isHovering = true} + onmouseleave={() => isHovering = false} +> +
isHovering = true} - onmouseleave={() => isHovering = false} + class="badge" + class:active={dacPassthroughActive} + title={showTooltips ? (dacPassthroughActive ? 'DAC Passthrough active' : 'DAC Passthrough inactive') : undefined} > - -
- DAC -
- - -
- EXC -
- - - {#if isHovering && showTooltips} -
-
Output Device
-
{prettyDeviceName}
- {#if currentDevice && currentDevice !== prettyDeviceName} -
{currentDevice}
- {/if} -
- {/if} + DAC
-{/if} + + +
+ EXC +
+ + + {#if isHovering && showTooltips} +
+
Output Device
+
{prettyDeviceName}
+ {#if currentDevice && currentDevice !== prettyDeviceName} +
{currentDevice}
+ {/if} +
+ {/if} +