From 13373426fe3840faeef2088831961a0e36a08114 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 28 Aug 2021 03:44:07 +0200 Subject: [PATCH] alright fine apple you win --- copyparty/web/util.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/copyparty/web/util.js b/copyparty/web/util.js index 9ee6267b..aedf2fca 100644 --- a/copyparty/web/util.js +++ b/copyparty/web/util.js @@ -624,7 +624,7 @@ var tt = (function () { if (x < 0) x = 8; - if (x + tw > window.innerWidth) { + if (x + tw >= window.innerWidth - 8) { if (x <= 8) r.tt.style.maxWidth = (window.innerWidth - 16) + 'px'; else @@ -653,10 +653,10 @@ var tt = (function () { f2 = r.hide; r.show = function () { - setTimeout(f1.bind(this), 101); + setTimeout(f1.bind(this), 401); }; r.hide = function () { - setTimeout(f2.bind(this), 101); + setTimeout(f2.bind(this), 401); }; }