mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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;
|
height: Theme.getSize("button_icon").height;
|
||||||
color:
|
color:
|
||||||
{
|
{
|
||||||
if(control.checkable && control.checked && control.hovered)
|
if (control.checked && control.hovered)
|
||||||
{
|
{
|
||||||
return Theme.getColor("toolbar_button_text_active_hover");
|
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");
|
return Theme.getColor("toolbar_button_text_active");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue