Change hover colors of the small buttons.

Contributes to CURA-5941
This commit is contained in:
Diego Prado Gesto 2018-12-10 11:19:44 +01:00
parent 8cfb9350bc
commit 12522c9293
4 changed files with 10 additions and 11 deletions

View file

@ -74,6 +74,7 @@ Item
id: closeButton
width: UM.Theme.getSize("message_close").width
height: UM.Theme.getSize("message_close").height
hoverEnabled: true
anchors
{
@ -86,8 +87,7 @@ Item
{
anchors.fill: parent
sourceSize.width: width
sourceSize.height: width
color: UM.Theme.getColor("message_text")
color: closeButton.hovered ? UM.Theme.getColor("small_button_text_hover") : UM.Theme.getColor("small_button_text")
source: UM.Theme.getIcon("cross1")
}