mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Render visuzlizer background for screenshot
This commit is contained in:
parent
df500913c8
commit
d4f927e70a
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ function Visualizer({ analyser }: Props) {
|
|||
return;
|
||||
}
|
||||
if (dummyVizData) {
|
||||
canvasCtx.drawImage(bgCanvas, 0, 0);
|
||||
Object.entries(dummyVizData).forEach(([i, value]) => {
|
||||
paintBar(canvasCtx, Number(i), value, -1);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue