Animations

This commit is contained in:
2026-09-11 13:56:02 +02:00
parent fbf03a9847
commit 7e5fd5ab75
9 changed files with 92 additions and 8 deletions

View File

@@ -33,6 +33,7 @@ import { playPop } from "./lib/pop";
import { targetForAlbum } from "./lib/remote";
import type { Group, Results, SongHit } from "./lib/search";
import { categoryMatches, groupOf, results as computeResults } from "./lib/search";
import { SHOW_AMBIENCE, SHOW_GLASS_BLUR } from "./lib/theme";
/** How long an armed "A" waits for the digit that completes the shortcut. */
const ASSIGN_PENDING_TIMEOUT_MS = 4000;
@@ -377,8 +378,8 @@ export function App() {
setUi((previous) => ({ ...previous, page: previous.page === "room" ? "music" : "room" }));
return (
<div className="stage">
{state && (
<div className="stage" data-blur={SHOW_GLASS_BLUR ? undefined : "off"}>
{state && SHOW_AMBIENCE && (
<Ambience
album={currentAlbum}
state={state}