mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Autoformatting
This commit is contained in:
@@ -49,8 +49,6 @@ NPanel {
|
||||
searchText = ""
|
||||
selectedIndex = 0
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
onClosed: {
|
||||
|
||||
+4
-8
@@ -194,17 +194,13 @@ Loader {
|
||||
property int calculatedY: {
|
||||
if (panelAnchorVerticalCenter) {
|
||||
return (panelWindow.height - panelHeight) / 2
|
||||
}
|
||||
else if (panelAnchorBottom) {
|
||||
} else if (panelAnchorBottom) {
|
||||
return panelWindow.height - panelHeight - (Style.marginS * scaling)
|
||||
}
|
||||
else if (panelAnchorTop) {
|
||||
} else if (panelAnchorTop) {
|
||||
return (Style.marginS * scaling)
|
||||
}
|
||||
else if (panelAnchorBottom) {
|
||||
} else if (panelAnchorBottom) {
|
||||
panelWindow.height - panelHeight - (Style.marginS * scaling)
|
||||
}
|
||||
else if (!barAtBottom) {
|
||||
} else if (!barAtBottom) {
|
||||
// Below the top bar
|
||||
return Style.marginS * scaling
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user