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) {
|
||||
this._display.scale = 1.0;
|
||||
} else {
|
||||
const size = this._screenSize();
|
||||
const size = this._screenSize(false);
|
||||
this._display.autoscale(size.w, size.h);
|
||||
}
|
||||
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">
|
||||
|
||||
<!-- 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>
|
||||
|
|
|
@ -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"
|
||||
}),
|
||||
],
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue