Animations
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user