Pause marquee when we click the song title

Fixes #100
This commit is contained in:
Jordan Eldredge 2014-12-08 07:44:09 -08:00
parent edddb5de7e
commit febf485fb9

View file

@ -182,6 +182,16 @@ function Winamp () {
self.skin.visualizer.clear();
}
this.nodes.songTitle.onmousedown = function() {
self.textDisplay.pauseRegisterMarquee('songTitle');
}
this.nodes.songTitle.onmouseup = function() {
setTimeout(function () {
self.textDisplay.startRegisterMarquee('songTitle');
}, 1000);
}
this.nodes.previous.onclick = function() {
// Implement this when we support playlists
}