summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsamhed <samuel@cendio.se>2014-11-11 16:29:06 +0100
committersamhed <samuel@cendio.se>2014-11-11 16:29:06 +0100
commit795fca23dc6cf124b2e6969ee42bd8e7c836d605 (patch)
treebf6bd2b2a13a969a23c53ad1373e984569d1743c
parenta86f97e2848d55a885c8754e3218b24dd9aaa724 (diff)
downloadnovnc-795fca23dc6cf124b2e6969ee42bd8e7c836d605.tar.gz
Modify minimum width of clear to accomodate smaller screens
-rw-r--r--include/display.js2
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);
}