summaryrefslogtreecommitdiff
path: root/core/display.js
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-08-23 15:03:13 +0200
committerPierre Ossman <ossman@cendio.se>2019-08-23 15:04:23 +0200
commit3855a7bee458d1bf17fa4c498e7963d1d4835869 (patch)
treefd8eff95656bd7a31f622ccbf1330cc70f2cd3e5 /core/display.js
parent6aed0b4dd2b1e219fd7da417370d4215d5f0937d (diff)
downloadnovnc-3855a7bee458d1bf17fa4c498e7963d1d4835869.tar.gz
Remove unused Display.logo attribute
Diffstat (limited to 'core/display.js')
-rw-r--r--core/display.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/core/display.js b/core/display.js
index 1528384..1e6eb6e 100644
--- a/core/display.js
+++ b/core/display.js
@@ -74,7 +74,6 @@ export default class Display {
this._scale = 1.0;
this._clipViewport = false;
- this.logo = null;
// ===== EVENT HANDLERS =====
@@ -303,13 +302,8 @@ export default class Display {
}
clear() {
- if (this._logo) {
- this.resize(this._logo.width, this._logo.height);
- this.imageRect(0, 0, this._logo.type, this._logo.data);
- } else {
- this.resize(240, 20);
- this._drawCtx.clearRect(0, 0, this._fb_width, this._fb_height);
- }
+ this.resize(240, 20);
+ this._drawCtx.clearRect(0, 0, this._fb_width, this._fb_height);
this.flip();
}