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

@ -106,7 +106,7 @@ Rectangle {
height: UM.Theme.sizes.save_button_specs_icons.height
sourceSize.width: width
sourceSize.height: width
color: UM.Theme.colors.setting_control_text
color: control.hovered ? UM.Theme.colors.setting_control_button_hover : UM.Theme.colors.text
source: UM.Theme.icons.pencil;
}
}