mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Changed behaviour of hoover over button
Per request of UX Contributes to CURA-8558
This commit is contained in:
parent
a58891ce58
commit
cbf83e500d
1 changed files with 4 additions and 2 deletions
|
@ -14,11 +14,13 @@ Button
|
|||
height: childrenRect.height
|
||||
|
||||
hoverEnabled: true
|
||||
property color borderColor: hovered ? UM.Theme.getColor("primary") : "transparent"
|
||||
property color backgroundColor: hovered ? UM.Theme.getColor("action_button_hovered") : UM.Theme.getColor("action_button")
|
||||
|
||||
background: Rectangle
|
||||
{
|
||||
color: UM.Theme.getColor("action_button")
|
||||
border.color: "transparent"
|
||||
color: backgroundColor
|
||||
border.color: borderColor
|
||||
border.width: UM.Theme.getSize("default_lining").width
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue