From 22af8e91cccd7c0caf097d48914f9aa874f55514 Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Tue, 26 Aug 2025 12:20:27 -0400 Subject: [PATCH] Autoformatting --- Modules/Launcher/Launcher.qml | 2 -- Widgets/NPanel.qml | 12 ++++-------- 2 files changed, 4 insertions(+), 10 deletions(-) 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 {