diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 4eb8c4a2..81662f4c 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -2121,6 +2121,10 @@ html { #reszbar:hover{ opacity: .6; } +.resz, +.resz * { + transition: none !important; +} .btn { color: var(--btn-fg); background: #eee; diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index a139ed7c..4d73cb6d 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -11251,6 +11251,7 @@ function reload_browser() { return; } resizing = true; + clmod(ebi('tree'), 'resz', true); ev(e); return; } @@ -11329,7 +11330,10 @@ function reload_browser() { } function sel_end(e) { - resizing = false; + if(resizing){ + resizing = false; + clmod(ebi('tree'), 'resz', false); + } clearTimeout(ttimer); if (dragging && selbox) { var sbrect = selbox.getBoundingClientRect();