mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Tweak color and icon logic (add "pre_print" state)
CURA-1036
This commit is contained in:
parent
bff23598c6
commit
7b4137ce20
2 changed files with 8 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ Rectangle
|
|||
{
|
||||
if(!printerConnected)
|
||||
return UM.Theme.getColor("status_offline")
|
||||
else if(Cura.MachineManager.printerOutputDevices[0].jobState == "printing")
|
||||
else if(Cura.MachineManager.printerOutputDevices[0].jobState == "printing" || Cura.MachineManager.printerOutputDevices[0].jobState == "pre_print")
|
||||
return UM.Theme.getColor("status_busy")
|
||||
else if(Cura.MachineManager.printerOutputDevices[0].jobState == "ready")
|
||||
return UM.Theme.getColor("status_ready")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue