Add hover feedback on window icons

This commit is contained in:
Thibault Martin
2026-03-01 11:24:17 +01:00
parent fd15bcf2db
commit f3699e786d
+12
View File
@@ -770,11 +770,23 @@ Item {
width: root.iconSize
height: root.iconSize
HoverHandler {
id: hoverHandler
}
IconImage {
id: groupedAppIcon
width: parent.width
height: parent.height
scale: hoverHandler.hovered ? (root.isVertical ? 1.1 : 1.2) : (root.isVertical ? 0.9 : 1.0)
Behavior on scale {
NumberAnimation {
duration: Style.animationNormal
easing.type: Easing.OutBack
}
}
source: {
root.iconRevision; // Force re-evaluation when revision changes
return ThemeIcons.iconForAppId(modelData.appId?.toLowerCase());