From 41a8bfa097d4c1ac1b575fd109416926f8171805 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 5 Jul 2025 11:44:28 +0200 Subject: [PATCH] bar: weather popup: use loader properly --- .config/quickshell/modules/bar/weather/WeatherBar.qml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.config/quickshell/modules/bar/weather/WeatherBar.qml b/.config/quickshell/modules/bar/weather/WeatherBar.qml index ccd27a1b8..f0fa0cfc5 100644 --- a/.config/quickshell/modules/bar/weather/WeatherBar.qml +++ b/.config/quickshell/modules/bar/weather/WeatherBar.qml @@ -15,12 +15,6 @@ MouseArea { implicitHeight: rowLayout.implicitHeight hoverEnabled: true - onEntered: { - popupLoader.item.visible = true; - } - onExited: { - popupLoader.item.visible = false; - } RowLayout { id: rowLayout @@ -43,10 +37,11 @@ MouseArea { LazyLoader { id: popupLoader - active: true + active: root.containsMouse component: PopupWindow { id: popupWindow + visible: true implicitWidth: weatherPopup.implicitWidth implicitHeight: weatherPopup.implicitHeight anchor.item: root