the visualizer is actually on 15 pixels tall

This commit is contained in:
Jordan Eldredge 2014-12-03 18:35:54 -08:00
parent 85607b4fc0
commit 3d476e5ff4
3 changed files with 4 additions and 4 deletions

View file

@ -40,7 +40,7 @@
<div id='second-first-digit'></div>
<div id='second-second-digit'></div>
</div>
<canvas id='visualizer' width='150' height='32'></canvas>
<canvas id='visualizer' width='150' height='30'></canvas>
</div>
<div class='media-info'>
<div id='song-title' class='text'></div>

View file

@ -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

View file

@ -222,8 +222,8 @@ a:focus { outline: none; }
#visualizer {
position: absolute;
width: 75px;
height: 16px;
top: 43px;
height: 15px;
top: 44px;
left: 24px;
}