mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 21:25:56 +08:00
Changed behaviour of hoover over button
Per request of UX Contributes to CURA-8558
This commit is contained in:
parent
a58891ce58
commit
cbf83e500d
@ -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…
x
Reference in New Issue
Block a user