extra height fix
This commit is contained in:
parent
9d4f9e8aaa
commit
8371a02975
@ -10,9 +10,9 @@ function sizeAndPos() {
|
|||||||
$c.attr('height',h * window.devicePixelRatio);
|
$c.attr('height',h * window.devicePixelRatio);
|
||||||
$c.css({
|
$c.css({
|
||||||
'width' : w,
|
'width' : w,
|
||||||
'height' : h - (window.devicePixelRatio-1) * 53
|
'height' : h
|
||||||
});
|
});
|
||||||
alert(window.devicePixelRatio);
|
$('body, html').css('height', h+53)
|
||||||
c.clearRect(0,0, width(), height());
|
c.clearRect(0,0, width(), height());
|
||||||
c.putImageData(data, 0, 0);
|
c.putImageData(data, 0, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user