diff options
author | Samuel Mannehed <samuel@cendio.se> | 2018-06-04 21:22:51 +0200 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2018-06-04 21:41:45 +0200 |
commit | 0342e4f4891a0c29f10b25a53258bf40890bc9fd (patch) | |
tree | 5f6ec7790648de0137ed408ed8a1c327a754af41 | |
parent | fe70a1d51f5a7ed0450a24181610d15f77f925af (diff) | |
download | novnc-0342e4f4891a0c29f10b25a53258bf40890bc9fd.tar.gz |
Clipping should be enabled on touch
This was always the intention and the main use case of 'clipping'. It
seems like it got lost somewhere along the way.
-rw-r--r-- | app/ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ const UI = { UI.initSetting('host', window.location.hostname); UI.initSetting('port', port); UI.initSetting('encrypt', (window.location.protocol === "https:")); - UI.initSetting('view_clip', false); + UI.initSetting('view_clip', isTouchDevice); UI.initSetting('resize', 'off'); UI.initSetting('shared', true); UI.initSetting('view_only', false); |