tried to fix rotated display
This commit is contained in:
parent
ce52d023b9
commit
95b291b15e
|
|
@ -467,8 +467,8 @@ export default class Display {
|
||||||
|
|
||||||
// draw the current tile to the screen
|
// draw the current tile to the screen
|
||||||
finishTile() {
|
finishTile() {
|
||||||
var x0 = this._tile_x;
|
var x0 = this._tile_x - this._viewportLoc.x;
|
||||||
var y0 = this._tile_y;
|
var y0 = this._tile_y - this._viewportLoc.y;
|
||||||
if (this._rotate === 'right') {
|
if (this._rotate === 'right') {
|
||||||
var a = x0;
|
var a = x0;
|
||||||
x0 = this._fb_width - y0 - 1;
|
x0 = this._fb_width - y0 - 1;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@gbrehmer/novnc",
|
"name": "@gbrehmer/novnc",
|
||||||
"version": "1.1.0-patch8",
|
"version": "1.1.0-patch9",
|
||||||
"description": "An HTML5 VNC client",
|
"description": "An HTML5 VNC client",
|
||||||
"browser": "lib/rfb",
|
"browser": "lib/rfb",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue