tried to fix rotated display

This commit is contained in:
Alt, Michael 2019-12-16 17:09:57 +01:00
parent ce52d023b9
commit 95b291b15e
2 changed files with 3 additions and 3 deletions

View File

@ -467,8 +467,8 @@ export default class Display {
// draw the current tile to the screen
finishTile() {
var x0 = this._tile_x;
var y0 = this._tile_y;
var x0 = this._tile_x - this._viewportLoc.x;
var y0 = this._tile_y - this._viewportLoc.y;
if (this._rotate === 'right') {
var a = x0;
x0 = this._fb_width - y0 - 1;

View File

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