prevent tree autogrow if autogrow is disabled

This commit is contained in:
Til Schmitter 2026-06-03 18:39:31 +02:00
parent 986eeda89f
commit 9b80f45f7b

View file

@ -8145,7 +8145,8 @@ var treectl = (function () {
if (!QS(q))
break;
}
nq = Math.max(nq, get_evpath().split('/').length - 2);
if(r.dyn)
nq = Math.max(nq, get_evpath().split('/').length - 2);
var iw = (treesz + Math.max(0, nq)),
w = iw + 'em',
w2 = (iw + 1) + 'em';