window resize styles

This commit is contained in:
2026-04-23 11:26:41 +02:00
parent cba94f6e75
commit 6496e7a3a3
23 changed files with 18 additions and 13 deletions

View File

@@ -6,7 +6,6 @@ const isMobile = (
);
let topZ = 100;
const MAX_PADDING = { left: 8, top: 8, right: 8, bottom: 60 };
const maximizeIcon = '▢';
const restoreIcon = '🗗';
@@ -18,6 +17,7 @@ const ctx = new ContextMenu();
const windowCleanup = new Map();
const username = getCookie('sAMAccountName');
const LS_KEY = (key) => `${username}:${key}`;
const MAX_PADDING = { left: 4, top: 4, right: 4, bottom: (56 - 4) };
startBtn.addEventListener('click', (evt) => {
evt.stopPropagation(); // verhindert sofortiges Schließen
@@ -327,6 +327,7 @@ function handleWindowAction(payload) {
// focusWindowById(btn.dataset.winid);
// });
taskbarWindows.addEventListener('click', (e) => {
const btn = e.target.closest('.taskbar-item');
if (!btn) return;