Settings window #20

Merged
Zacharias-Brohn merged 83 commits from settingsWindow into main 2026-03-06 23:27:24 +01:00
Showing only changes of commit 9c8c48c5ee - Show all commits
-1
View File
@@ -14,7 +14,6 @@ Item {
// readonly property int maxWidth: 300 // readonly property int maxWidth: 300
readonly property int maxWidth: { readonly property int maxWidth: {
const otherModules = bar.children.filter(c => c.enabled && c.id && c.item !== this && c.id !== "spacer"); const otherModules = bar.children.filter(c => c.enabled && c.id && c.item !== this && c.id !== "spacer");
otherModules.forEach(m => console.log(m.id, m.item));
const otherWidth = otherModules.reduce((acc, curr) => { const otherWidth = otherModules.reduce((acc, curr) => {
return acc + (curr.item?.nonAnimWidth ?? curr.width ?? 0); return acc + (curr.item?.nonAnimWidth ?? curr.width ?? 0);
}, 0); }, 0);