mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
ScreenCorners: fix when bar is not visible on a screen
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user