From 242da1b3aa27620aaa14812aca21536cf9b71148 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 28 Jan 2020 14:47:00 +0100 Subject: [PATCH] Give web marketplace button a hover colour It needs to be the same as the bar beneath the marketplace tab buttons when highlit. Contributes to issue CURA-7071. --- plugins/Toolbox/resources/qml/components/ToolboxHeader.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml b/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml index e0cdb44d7d..3cba9a9ece 100644 --- a/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml +++ b/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml @@ -80,6 +80,7 @@ Item UM.TooltipArea { + id: webMarketplaceButtonTooltipArea width: childrenRect.width height: parent.height text: catalog.i18nc("@info:tooltip", "Go to Web Marketplace") @@ -94,7 +95,7 @@ Item { id: cloudMarketplaceButton source: "../../images/shop.svg" - color: UM.Theme.getColor("text") + color: UM.Theme.getColor(webMarketplaceButtonTooltipArea.containsMouse ? "primary" : "text") height: parent.height / 2 width: height anchors.verticalCenter: parent.verticalCenter