various bug fixes

This commit is contained in:
matt 2021-04-11 18:33:30 +00:00
parent 41daa6042c
commit 1a823c85d9
3 changed files with 5 additions and 5 deletions

View File

@ -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();

View File

@ -48,7 +48,7 @@
<link rel="apple-touch-icon" sizes="152x152" type="image/png" href="app/images/icons/368_kasm_logo_only_152x152.png">
<!-- Stylesheets -->
<link rel="stylesheet" href="app/styles/base.css">
<!--link rel="stylesheet" href="app/styles/base.css">
<script src="app/error-handler.js"></script>
@ -67,7 +67,7 @@
}
</script>
<script type="module" crossorigin="use-credentials" src="app/ui.js"></script>
<script type="module" crossorigin="use-credentials" src="app/ui.js"></script-->
</head>
<body>

View File

@ -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"
}),
],
};
};