Modify the color behavior of the toolbar buttons.

This commit is contained in:
Diego Prado Gesto 2018-11-12 09:35:32 +01:00
parent 9bf18031ce
commit f534885e34

View file

@ -225,11 +225,11 @@ QtObject
height: Theme.getSize("button_icon").height;
color:
{
if(control.checkable && control.checked && control.hovered)
if (control.checked && control.hovered)
{
return Theme.getColor("toolbar_button_text_active_hover");
}
else if(control.pressed || (control.checkable && control.checked))
else if (control.checked)
{
return Theme.getColor("toolbar_button_text_active");
}