mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Modify the color behavior of the toolbar buttons.
This commit is contained in:
parent
9bf18031ce
commit
f534885e34
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue