From 76ed9f391502f70f99da9795e58d556654a86f9a Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 8 Jul 2021 13:23:49 +0200 Subject: typo --- CHANGELOG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index b2822b78f..69bc63be5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,7 +7,7 @@ Hubzilla 6.0 (2021-07-xx) - Add an option to drop media for bbcode processing - Make mod HQ the default landing page after login - Implement direct messages view for mod HQ - - Implement public/restricted messages vie for mod HQ + - Implement public/restricted messages view for mod HQ - Implement starred messages view for mod HQ (only available if the Star Posts feature is enabled) - Update composer libs - Remove deprecated mod ping -- cgit v1.2.3 From e39b29cc4b9599918fc87dfc0de753d9db7f1980 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 8 Jul 2021 13:35:28 +0200 Subject: set touch_max to 1/10 of the screen width to prevent overlaping with cursor positioning --- view/theme/redbasic/js/redbasic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index a354682d7..9312d8390 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -71,7 +71,7 @@ $(document).ready(function() { setInterval(function () {checkNotify();}, 10 * 1000); var touch_start = null; - var touch_max = 70; + var touch_max = window.innerWidth / 10; window.addEventListener('touchstart', function(e) { if (e.touches.length === 1){ @@ -90,7 +90,7 @@ $(document).ready(function() { window.addEventListener('touchend', function(e) { $('html, body').css('overflow-y', ''); - let touch_offset = 30; //at least 100px are a swipe + let touch_offset = 30; //at least 30px are a swipe if (touch_start) { //the only finger that hit the screen left it let touch_end = e.changedTouches.item(0).clientX; -- cgit v1.2.3