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.
This commit is contained in:
Samuel Mannehed
2018-06-04 21:22:51 +02:00
parent fe70a1d51f
commit 0342e4f489

View File

@@ -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);