mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06: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
1 changed files with 2 additions and 1 deletions
|
@ -80,6 +80,7 @@ Item
|
||||||
|
|
||||||
UM.TooltipArea
|
UM.TooltipArea
|
||||||
{
|
{
|
||||||
|
id: webMarketplaceButtonTooltipArea
|
||||||
width: childrenRect.width
|
width: childrenRect.width
|
||||||
height: parent.height
|
height: parent.height
|
||||||
text: catalog.i18nc("@info:tooltip", "Go to Web Marketplace")
|
text: catalog.i18nc("@info:tooltip", "Go to Web Marketplace")
|
||||||
|
@ -94,7 +95,7 @@ Item
|
||||||
{
|
{
|
||||||
id: cloudMarketplaceButton
|
id: cloudMarketplaceButton
|
||||||
source: "../../images/shop.svg"
|
source: "../../images/shop.svg"
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor(webMarketplaceButtonTooltipArea.containsMouse ? "primary" : "text")
|
||||||
height: parent.height / 2
|
height: parent.height / 2
|
||||||
width: height
|
width: height
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue