diff options
author | samhed <samuel@cendio.se> | 2014-11-11 16:29:06 +0100 |
---|---|---|
committer | samhed <samuel@cendio.se> | 2014-11-11 16:29:06 +0100 |
commit | 795fca23dc6cf124b2e6969ee42bd8e7c836d605 (patch) | |
tree | bf6bd2b2a13a969a23c53ad1373e984569d1743c | |
parent | a86f97e2848d55a885c8754e3218b24dd9aaa724 (diff) | |
download | novnc-795fca23dc6cf124b2e6969ee42bd8e7c836d605.tar.gz |
Modify minimum width of clear to accomodate smaller screens
-rw-r--r-- | include/display.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/display.js b/include/display.js index 1006c36..a42b854 100644 --- a/include/display.js +++ b/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); } |