mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 10:15:31 +00:00
parent
b1b504b589
commit
ef9ec6f91e
2 changed files with 4 additions and 4 deletions
|
|
@ -162,10 +162,6 @@
|
|||
left: 79px;
|
||||
}
|
||||
|
||||
#webamp #main-window.stop #visualizer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#webamp .text {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -150,6 +150,10 @@ function Visualizer({ analyser }: Props) {
|
|||
};
|
||||
}, [canvas, paintFrame]);
|
||||
|
||||
if (status === MEDIA_STATUS.STOPPED) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<canvas
|
||||
id="visualizer"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue