auto stop file column picking when dropdown closed, hide column hide buttons

This commit is contained in:
Til Schmitter 2026-05-13 18:45:48 +02:00
parent 027558896a
commit c61f6164f2
2 changed files with 6 additions and 2 deletions

View file

@ -2249,7 +2249,7 @@ html.b .btn {
white-space: nowrap;
}
#files th:hover .cfg {
display: block;
display: none;
width: 1em;
border-radius: var(--radius);
margin: -1.2em auto 0 auto;
@ -3517,7 +3517,7 @@ details .setting {
details {
border: var(--bg-u3) solid 1px;
border-radius: var(--radius);
margin: .3em 0;
margin: .3em;
}
details:not(.open) .setting {
display: none;

View file

@ -6186,6 +6186,10 @@ window.thegrid = (function () {
ebi('h_hidden').onclick = function () {
clmod(this.parentElement, 'open', 't');
if(!clgot(this.parentElement, 'open') && filecols.picking){
filecols.unpick();
clmod(ebi('hcolsh'), 'on', r.picking)
}
}
var r = {