From 1a823c85d9298467051c1e55923872cd7f9ef4bf Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 11 Apr 2021 18:33:30 +0000 Subject: [PATCH] various bug fixes --- core/rfb.js | 2 +- vnc.html | 4 ++-- webpack.config.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/rfb.js b/core/rfb.js index 606a6ab0..0823b991 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -734,7 +734,7 @@ export default class RFB extends EventTargetMixin { if (!this._scaleViewport) { this._display.scale = 1.0; } else { - const size = this._screenSize(); + const size = this._screenSize(false); this._display.autoscale(size.w, size.h); } this._fixScrollbars(); diff --git a/vnc.html b/vnc.html index 984fb5d3..88eea3bd 100644 --- a/vnc.html +++ b/vnc.html @@ -48,7 +48,7 @@ - + diff --git a/webpack.config.js b/webpack.config.js index e4f0749a..95be6ad8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -101,7 +101,7 @@ module.exports = { new CleanWebpackPlugin(), new HtmlWebpackPlugin({ filename: '../index.html', - template: 'load.html', + template: 'vnc.html', minify: { html5: true, collapseWhitespace: true, @@ -135,4 +135,4 @@ module.exports = { filename: "[name].bundle.css" }), ], -}; \ No newline at end of file +};