Make the emulator screen resizable.

This commit is contained in:
John "Elwin" Edwards 2012-05-09 13:38:05 -07:00
parent 5b0be4c820
commit 02cc454ad1
4 changed files with 95 additions and 12 deletions

View file

@ -405,7 +405,7 @@ function textsize(larger) {
nsize = 48;
}
document.getElementById("term").style.fontSize = nsize.toString() + "px";
termemu.resize();
termemu.fixsize();
debug(1, "Changing font size to " + nsize.toString());
return;
}