diff --git a/plugins/Marketplace/resources/qml/Packages.qml b/plugins/Marketplace/resources/qml/Packages.qml index f0d6f508cc..3c627aef32 100644 --- a/plugins/Marketplace/resources/qml/Packages.qml +++ b/plugins/Marketplace/resources/qml/Packages.qml @@ -62,9 +62,11 @@ ListView delegate: MouseArea { + id: cardMouseArea width: parent ? parent.width : 0 height: childrenRect.height + hoverEnabled: true onClicked: { packages.selectedPackage = model.package; @@ -75,6 +77,7 @@ ListView { packageData: model.package width: parent.width - UM.Theme.getSize("default_margin").width - UM.Theme.getSize("narrow_margin").width + color: cardMouseArea.containsMouse ? UM.Theme.getColor("action_button_hovered") : UM.Theme.getColor("main_background") } }