diff --git a/Modules/Launcher/Launcher.qml b/Modules/Launcher/Launcher.qml index 2f5f960..2ac193a 100644 --- a/Modules/Launcher/Launcher.qml +++ b/Modules/Launcher/Launcher.qml @@ -49,8 +49,6 @@ NPanel { searchText = "" selectedIndex = 0 } - - } onClosed: { diff --git a/Widgets/NPanel.qml b/Widgets/NPanel.qml index 42872c9..659ad5b 100644 --- a/Widgets/NPanel.qml +++ b/Widgets/NPanel.qml @@ -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 {