instant response resizing

This commit is contained in:
Til Schmitter 2026-06-03 14:48:07 +02:00
parent 4e078ad99c
commit 93fc7184ac
2 changed files with 9 additions and 1 deletions

View file

@ -2121,6 +2121,10 @@ html {
#reszbar:hover{
opacity: .6;
}
.resz,
.resz * {
transition: none !important;
}
.btn {
color: var(--btn-fg);
background: #eee;

View file

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