From 89e43f84aa6809f80ebde524517864cbf63f5232 Mon Sep 17 00:00:00 2001 From: "Alt, Michael" Date: Tue, 17 Dec 2019 13:06:38 +0100 Subject: [PATCH] added logging --- core/display.js | 7 ++++--- package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/core/display.js b/core/display.js index 2078ef5a..4014f9fb 100644 --- a/core/display.js +++ b/core/display.js @@ -306,9 +306,9 @@ export default class Display { // FIXME: We may need to disable image smoothing here // as well (see copyImage()), but we haven't // noticed any problem yet. - // this._targetCtx.drawImage(this._backbuffer, - // x, y, w, h, - // vx, vy, w, h); + this._targetCtx.drawImage(this._backbuffer, + x, y, w, h, + vx, vy, w, h); } this._damageBounds.left = this._damageBounds.top = 65535; @@ -734,6 +734,7 @@ export default class Display { let ready = true; while (ready && this._renderQ.length > 0) { const a = this._renderQ[0]; + console.log(a); switch (a.type) { case 'flip': this.flip(true); diff --git a/package.json b/package.json index 42f070d9..a946149f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gbrehmer/novnc", - "version": "1.1.0-patch111", + "version": "1.1.0-patch12", "description": "An HTML5 VNC client", "browser": "lib/rfb", "directories": {