mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 20:29:10 +08:00
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.
This commit is contained in:
parent
6553443f3b
commit
242da1b3aa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user