diff options
author | samhed <samuel@cendio.se> | 2016-04-25 16:35:49 +0200 |
---|---|---|
committer | samhed <samuel@cendio.se> | 2016-04-25 16:35:49 +0200 |
commit | 529c64e1036b622ff971b1a0cd13856837d3a9eb (patch) | |
tree | 8e07095327dc0c15c8f116c55dbd7c6a79991844 | |
parent | 8b0a0f6637fbc5102da64e26ccaa52de8df7186c (diff) | |
download | novnc-529c64e1036b622ff971b1a0cd13856837d3a9eb.tar.gz |
Re-arrange global UI variables
-rw-r--r-- | include/ui.js | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/include/ui.js b/include/ui.js index 1a7f803..425e5a3 100644 --- a/include/ui.js +++ b/include/ui.js @@ -24,20 +24,25 @@ var UI; UI = { rfb_state: 'loaded', + resizeTimeout: null, + popupStatusTimeout: null, + hideKeyboardTimeout: null, + settingsOpen: false, connSettingsOpen: false, - popupStatusTimeout: null, clipboardOpen: false, keyboardVisible: false, - hideKeyboardTimeout: null, - lastKeyboardinput: null, - defaultKeyboardinputLen: 100, - extraKeysVisible: false, - ctrlOn: false, - altOn: false, + isTouchDevice: false, rememberedClipSetting: null, + lastKeyboardinput: null, + defaultKeyboardinputLen: 100, + + shiftDown: false, + ctrlDown: false, + altDown: false, + altGrDown: false, // Setup rfb object, load settings from browser storage, then call // UI.init to setup the UI/menus |