Merge temporary switcher window guard

# Conflicts:
#	app/ui/shell/shell.ts
This commit is contained in:
Blendman974 committed 2026-11-06 06:34:51 +01:00
commit 19944c7855
4 files changed
+9 -3

No files matched your search

+2 -1
View File
@@ -2059,7 +2059,8 @@ class Shell {
},
}));
}
if (foreground.closeable && this.switcherWindows().filter(window => window.closeable).length > 1) {
const movableWindows = this.switcherWindows().filter(window => window.closeable);
if (movableWindows.length > 1 && movableWindows.includes(foreground)) {
items.push({
label: "Move in app switcher",
description: "Choose this open window's position in the app switcher.",