From d6b3e08db193c5eeed5ffdf083116fe6195c7bc4 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Mon, 6 Oct 2025 09:50:38 -0400 Subject: [PATCH] autoformatting --- Modules/Background/Background.qml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Modules/Background/Background.qml b/Modules/Background/Background.qml index b3880ac6..3760ff0c 100644 --- a/Modules/Background/Background.qml +++ b/Modules/Background/Background.qml @@ -142,9 +142,8 @@ Variants { if (modelData.width >= modelData.height) { const w = Math.min(modelData.width, implicitWidth) sourceSize = Qt.size(w, w / imageAspectRatio) - } - else { - const h = Math.min(modelData.height, implicitHeight) + } else { + const h = Math.min(modelData.height, implicitHeight) sourceSize = Qt.size(h * imageAspectRatio, h) } } @@ -183,9 +182,8 @@ Variants { if (modelData.width >= modelData.height) { const w = Math.min(modelData.width, implicitWidth) sourceSize = Qt.size(w, w / imageAspectRatio) - } - else { - const h = Math.min(modelData.height, implicitHeight) + } else { + const h = Math.min(modelData.height, implicitHeight) sourceSize = Qt.size(h * imageAspectRatio, h) } }