extra height fix

This commit is contained in:
Mahdi Dibaiee 2014-02-10 16:17:41 +03:30
parent 5dd2f70f63
commit 9d4f9e8aaa

View File

@ -10,7 +10,7 @@ function sizeAndPos() {
$c.attr('height',h * window.devicePixelRatio); $c.attr('height',h * window.devicePixelRatio);
$c.css({ $c.css({
'width' : w, 'width' : w,
'height' : h 'height' : h - (window.devicePixelRatio-1) * 53
}); });
alert(window.devicePixelRatio); alert(window.devicePixelRatio);
c.clearRect(0,0, width(), height()); c.clearRect(0,0, width(), height());