Add small hover-effect to small buttons

This commit is contained in:
fieldOfView 2015-12-15 16:47:07 +01:00
parent a900b02ae8
commit 4bf4a20d44
3 changed files with 5 additions and 4 deletions

View file

@ -104,7 +104,7 @@ Item {
height: parent.height/2
sourceSize.width: width
sourceSize.height: width
color: UM.Theme.colors.setting_control_revert
color: control.hovered ? UM.Theme.colors.setting_control_button_hover : UM.Theme.colors.setting_control_button
source: UM.Theme.icons.cross1
}
}