From 1efd2dfa19b5fa84aaf871ec16d729ed23d40c76 Mon Sep 17 00:00:00 2001 From: EoinKanro <54404008+EoinKanro@users.noreply.github.com> Date: Thu, 4 Dec 2025 22:47:50 +0100 Subject: [PATCH] Remove todo and make readonly additionalScaleFactor --- .../.config/quickshell/ii/modules/ii/background/Background.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/ii/background/Background.qml b/dots/.config/quickshell/ii/modules/ii/background/Background.qml index f9ffe54d2..06f40f26b 100644 --- a/dots/.config/quickshell/ii/modules/ii/background/Background.qml +++ b/dots/.config/quickshell/ii/modules/ii/background/Background.qml @@ -48,7 +48,7 @@ Variants { return enabled && sensitiveWallpaper && sensitiveNetwork; } property real parallaxRation: 1.2 - property real additionalScaleFactor: Config.options.background.parallax.workspaceZoom + readonly property real additionalScaleFactor: Config.options.background.parallax.workspaceZoom property real effectiveWallpaperScale: 1 // Some reasonable init value, to be updated property int wallpaperWidth: modelData.width // Some reasonable init value, to be updated property int wallpaperHeight: modelData.height // Some reasonable init value, to be updated @@ -119,7 +119,6 @@ Variants { // Big picture; scale < 1; will zoom out the picture // Choose max number so every side will fit const minSuitableScale = Math.max(screenWidth / width, screenHeight / height); - //todo switch off parallax bgRoot.effectiveWallpaperScale = minSuitableScale * bgRoot.additionalScaleFactor * bgRoot.parallaxRation; } }