ScreenCorners: fix when bar is not visible on a screen
This commit is contained in:
parent
f80e6a0294
commit
a8e7f6e01d
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue