Explorar o código

Modify minimum width of clear to accomodate smaller screens

samhed %!s(int64=10) %!d(string=hai) anos
pai
achega
795fca23dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/display.js

+ 1 - 1
include/display.js

@@ -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);
             }
             }