From 5a0e7348af0e82c3de472e732dbac7045cd77498 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 5 Oct 2026 14:44:19 +0200 Subject: [PATCH] Show Elsewhen remove button only on mouse hover --- shell/plugins/panels/elsewhen/CityRow.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/plugins/panels/elsewhen/CityRow.qml b/shell/plugins/panels/elsewhen/CityRow.qml index 4032355a..6222c014 100644 --- a/shell/plugins/panels/elsewhen/CityRow.qml +++ b/shell/plugins/panels/elsewhen/CityRow.qml @@ -306,8 +306,7 @@ Rectangle { fontFamily: row.fontFamily fontSize: Style.font.bodySmall enabled: row.removable - // Shown on the keyboard's pick too, so Delete's target is plain. - opacity: row.removable && (row.lit || removeButton._hot) ? 1 : 0 + opacity: row.removable && (rowHover.hovered || removeButton._hot) ? 1 : 0 visible: opacity > 0 Behavior on opacity { NumberAnimation { duration: Style.duration(120) } } onClicked: row.panel.removeCityAt(row.index)