Modify minimum width of clear to accomodate smaller screens

This commit is contained in:
samhed 2014-11-11 16:29:06 +01:00
parent a86f97e284
commit 795fca23dc
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ var Display;
// Clearing the current viewport first fixes the issue
this._drawCtx.clearRect(0, 0, this._viewportLoc.w, this._viewportLoc.h);
}
this.resize(640, 20);
this.resize(240, 20);
this._drawCtx.clearRect(0, 0, this._viewportLoc.w, this._viewportLoc.h);
}