ScreenCorners: fix when bar is not visible on a screen

This commit is contained in:
quadbyte 2025-08-15 14:48:33 -04:00
parent f80e6a0294
commit a8e7f6e01d
2 changed files with 4 additions and 4 deletions

View file

@ -41,7 +41,8 @@ NLoader {
}
margins {
top: Math.floor(Style.barHeight * scaling)
top: (Settings.data.bar.monitors.includes(modelData.name)
|| (Settings.data.bar.monitors.length === 0)) ? Math.floor(Style.barHeight * scaling) : 0
}
// Source we want to show only as a ring