From 3d476e5ff47a3668b619eb3cb27c08f9889b2c96 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Wed, 3 Dec 2014 18:35:54 -0800 Subject: [PATCH] the visualizer is actually on 15 pixels tall --- index.html | 2 +- visualizer.js | 2 +- winamp.css | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 3612dcde..58507b1b 100755 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@
- +
diff --git a/visualizer.js b/visualizer.js index d1f10c07..e6392ed4 100644 --- a/visualizer.js +++ b/visualizer.js @@ -128,7 +128,7 @@ Visualizer = { var printBar = function(x, height) { height = Math.round(height) * 2; if(height > 0) { - y = 32 - height; + y = 30 - height; // Draw the gray peak line this.canvasCtx.drawImage(this.barCanvas, 0, 0, 6, 2, x, y - 2, 6, 2); // Draw the gradient diff --git a/winamp.css b/winamp.css index 62558294..ca203704 100755 --- a/winamp.css +++ b/winamp.css @@ -222,8 +222,8 @@ a:focus { outline: none; } #visualizer { position: absolute; width: 75px; - height: 16px; - top: 43px; + height: 15px; + top: 44px; left: 24px; }