added logging

This commit is contained in:
Alt, Michael 2019-12-17 13:06:38 +01:00
parent c122f76dce
commit 89e43f84aa
2 changed files with 5 additions and 4 deletions

View File

@ -306,9 +306,9 @@ export default class Display {
// FIXME: We may need to disable image smoothing here // FIXME: We may need to disable image smoothing here
// as well (see copyImage()), but we haven't // as well (see copyImage()), but we haven't
// noticed any problem yet. // noticed any problem yet.
// this._targetCtx.drawImage(this._backbuffer, this._targetCtx.drawImage(this._backbuffer,
// x, y, w, h, x, y, w, h,
// vx, vy, w, h); vx, vy, w, h);
} }
this._damageBounds.left = this._damageBounds.top = 65535; this._damageBounds.left = this._damageBounds.top = 65535;
@ -734,6 +734,7 @@ export default class Display {
let ready = true; let ready = true;
while (ready && this._renderQ.length > 0) { while (ready && this._renderQ.length > 0) {
const a = this._renderQ[0]; const a = this._renderQ[0];
console.log(a);
switch (a.type) { switch (a.type) {
case 'flip': case 'flip':
this.flip(true); this.flip(true);

View File

@ -1,6 +1,6 @@
{ {
"name": "@gbrehmer/novnc", "name": "@gbrehmer/novnc",
"version": "1.1.0-patch111", "version": "1.1.0-patch12",
"description": "An HTML5 VNC client", "description": "An HTML5 VNC client",
"browser": "lib/rfb", "browser": "lib/rfb",
"directories": { "directories": {