Commit 795fca23 authored by samhed's avatar samhed

Modify minimum width of clear to accomodate smaller screens

parent a86f97e2
...@@ -318,7 +318,7 @@ var Display; ...@@ -318,7 +318,7 @@ var Display;
// Clearing the current viewport first fixes the issue // Clearing the current viewport first fixes the issue
this._drawCtx.clearRect(0, 0, this._viewportLoc.w, this._viewportLoc.h); 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); this._drawCtx.clearRect(0, 0, this._viewportLoc.w, this._viewportLoc.h);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment