Remove old size stuff.

This commit is contained in:
Devine Lu Linvega
2018-05-07 16:51:58 +12:00
parent 1b0bdcac91
commit e105ba5280
5 changed files with 25 additions and 34 deletions

View File

@@ -60,8 +60,8 @@ function Guide()
this.clear = function()
{
this.el.getContext('2d').clearRect(0, 0, 1280, 1280);
this.widgets.getContext('2d').clearRect(0, 0, 1280, 1280);
this.el.getContext('2d').clearRect(0, 0, this.el.width*2, this.el.height*2);
this.widgets.getContext('2d').clearRect(0, 0, this.el.width*2, this.el.height*2);
}
this.update = function()