Make the PC8080 prototype page more responsive

This commit is contained in:
Jeff Parsons 2016-04-20 16:43:01 -07:00
commit 87d01130bd
5 changed files with 16 additions and 22 deletions

View file

@ -7245,7 +7245,7 @@ Video.init = function()
return;
}
eCanvas.setAttribute("class", PCJSCLASS + "-canvas");
eCanvas.setAttribute("class", "pcjs-canvas");
eCanvas.setAttribute("width", parmsVideo['screenWidth']);
eCanvas.setAttribute("height", parmsVideo['screenHeight']);
eCanvas.style.backgroundColor = parmsVideo['screenColor'];