window resize styles
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user