mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-10 07:01:21 +00:00
GUAC-634: Allow default value for local properties. Use default values within client and root UI.
This commit is contained in:
@@ -841,7 +841,7 @@ GuacUI.Client.updateDisplayScale = function() {
|
||||
|
||||
// If auto-fit is enabled, scale display
|
||||
if (!GuacUI.Client.overrideAutoFit
|
||||
&& GuacUI.sessionState.getProperty("auto-fit")) {
|
||||
&& GuacUI.sessionState.getProperty("auto-fit", true)) {
|
||||
|
||||
// Calculate scale to fit screen
|
||||
var fit_scale = Math.min(
|
||||
|
Reference in New Issue
Block a user