Merge pull request #3 from kasmtech/bug_fixes
Fix auto size on low quality setting
This commit is contained in:
commit
10a7fcb91d
|
@ -734,7 +734,7 @@ export default class RFB extends EventTargetMixin {
|
||||||
if (!this._scaleViewport) {
|
if (!this._scaleViewport) {
|
||||||
this._display.scale = 1.0;
|
this._display.scale = 1.0;
|
||||||
} else {
|
} else {
|
||||||
const size = this._screenSize();
|
const size = this._screenSize(false);
|
||||||
this._display.autoscale(size.w, size.h);
|
this._display.autoscale(size.w, size.h);
|
||||||
}
|
}
|
||||||
this._fixScrollbars();
|
this._fixScrollbars();
|
||||||
|
|
4
vnc.html
4
vnc.html
|
@ -48,7 +48,7 @@
|
||||||
<link rel="apple-touch-icon" sizes="152x152" type="image/png" href="app/images/icons/368_kasm_logo_only_152x152.png">
|
<link rel="apple-touch-icon" sizes="152x152" type="image/png" href="app/images/icons/368_kasm_logo_only_152x152.png">
|
||||||
|
|
||||||
<!-- Stylesheets -->
|
<!-- Stylesheets -->
|
||||||
<link rel="stylesheet" href="app/styles/base.css">
|
<!--link rel="stylesheet" href="app/styles/base.css">
|
||||||
|
|
||||||
<script src="app/error-handler.js"></script>
|
<script src="app/error-handler.js"></script>
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="module" crossorigin="use-credentials" src="app/ui.js"></script>
|
<script type="module" crossorigin="use-credentials" src="app/ui.js"></script-->
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -101,7 +101,7 @@ module.exports = {
|
||||||
new CleanWebpackPlugin(),
|
new CleanWebpackPlugin(),
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
filename: '../index.html',
|
filename: '../index.html',
|
||||||
template: 'load.html',
|
template: 'vnc.html',
|
||||||
minify: {
|
minify: {
|
||||||
html5: true,
|
html5: true,
|
||||||
collapseWhitespace: true,
|
collapseWhitespace: true,
|
||||||
|
@ -135,4 +135,4 @@ module.exports = {
|
||||||
filename: "[name].bundle.css"
|
filename: "[name].bundle.css"
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue