body width height 100%
This commit is contained in:
parent
81b8fa218d
commit
5dd2f70f63
@ -12,7 +12,7 @@ function sizeAndPos() {
|
|||||||
'width' : w,
|
'width' : w,
|
||||||
'height' : h
|
'height' : h
|
||||||
});
|
});
|
||||||
alert($(window).height());
|
alert(window.devicePixelRatio);
|
||||||
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