From 0342e4f4891a0c29f10b25a53258bf40890bc9fd Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Mon, 4 Jun 2018 21:22:51 +0200 Subject: [PATCH] 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. --- app/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui.js b/app/ui.js index d587cfc6..ceac1975 100644 --- a/app/ui.js +++ b/app/ui.js @@ -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);