mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:19:05 +08:00
Modify the color behavior of the toolbar buttons.
This commit is contained in:
parent
9bf18031ce
commit
f534885e34
@ -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…
x
Reference in New Issue
Block a user