From acc5b2cd2764a72ed225705972bd93bd6c167f2f Mon Sep 17 00:00:00 2001 From: onelocked Date: Tue, 11 Nov 2025 19:29:29 +0000 Subject: [PATCH] Fix: WallpaperSelector widget panel positioning When clicking the Wallpaper Selector button in the bar, it did not respect the users position choice. For example if set to bottom right, it would still follow bar position. --- Modules/Bar/Widgets/WallpaperSelector.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Modules/Bar/Widgets/WallpaperSelector.qml b/Modules/Bar/Widgets/WallpaperSelector.qml index 1dbbdff4..61c9e66c 100644 --- a/Modules/Bar/Widgets/WallpaperSelector.qml +++ b/Modules/Bar/Widgets/WallpaperSelector.qml @@ -20,5 +20,12 @@ NIconButton { colorFg: Color.mOnSurface colorBorder: Color.transparent colorBorderHover: Color.transparent - onClicked: PanelService.getPanel("wallpaperPanel", screen)?.toggle(this) + onClicked: { + var wallpaperPanel = PanelService.getPanel("wallpaperPanel", screen) + if (Settings.data.wallpaper.panelPosition === "follow_bar") { + wallpaperPanel?.toggle(this) + } else { + wallpaperPanel?.toggle() + } + } }