GUAC-634: Allow default value for local properties. Use default values within client and root UI.

This commit is contained in:
Michael Jumper
2014-04-14 18:59:58 -07:00
parent ce4174ffba
commit a049d2d0bf
4 changed files with 13 additions and 14 deletions

View File

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