mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Clear visualizer when we change skins
This commit is contained in:
parent
8dee8ee2ac
commit
5c30f00015
1 changed files with 4 additions and 0 deletions
|
|
@ -44,6 +44,10 @@ Visualizer = {
|
|||
var y = 32 - (i*2);
|
||||
this.barCanvasCtx.fillRect(0,y,6,2);
|
||||
}
|
||||
// If we are paused when the skin changes, we will keep the vis colors
|
||||
// until we paint again. For now we can just clear the current frame so
|
||||
// we don't end up with a clashing visual.
|
||||
this.clear();
|
||||
},
|
||||
|
||||
setStyle: function(style) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue