release(v1.6.11) fix(ui/dragAndDrop) restore floating zones toggle click action

This commit is contained in:
Ryan
2025-10-28 03:21:52 -04:00
committed by GitHub
parent 8b880738d6
commit 5a7c4704d0
2 changed files with 22 additions and 0 deletions

View File

@@ -551,6 +551,10 @@ function ensureZonesToggle() {
btn.style.color = '#e0e0e0';
}
btn.addEventListener('click', () => {
setZonesCollapsed(!isZonesCollapsed());
});
// Insert right after the logo if present, else append to host
const afterLogo = host.querySelector('.header-logo');
if (afterLogo && afterLogo.parentNode) {