소스 검색

Modify minimum width of clear to accomodate smaller screens

samhed 10 년 전
부모
커밋
795fca23dc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
                     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);
             }