Fixed layer positioning.

This commit is contained in:
Michael Jumper
2011-02-20 13:50:22 -08:00
parent 4571135a08
commit 4d1717146f
2 changed files with 6 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ function Layer(width, height) {
function resize(newWidth, newHeight) {
display.style.position = "absolute";
display.style.left = "0px";
display.style.right = "0px";
display.style.top = "0px";
display.width = newWidth;
display.height = newHeight;