diff options
author | Pierre Ossman <ossman@cendio.se> | 2019-08-23 15:03:13 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2019-08-23 15:04:23 +0200 |
commit | 3855a7bee458d1bf17fa4c498e7963d1d4835869 (patch) | |
tree | fd8eff95656bd7a31f622ccbf1330cc70f2cd3e5 /core/display.js | |
parent | 6aed0b4dd2b1e219fd7da417370d4215d5f0937d (diff) | |
download | novnc-3855a7bee458d1bf17fa4c498e7963d1d4835869.tar.gz |
Remove unused Display.logo attribute
Diffstat (limited to 'core/display.js')
-rw-r--r-- | core/display.js | 10 |
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(); } |