mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 16:27:51 -06:00
Simplify preview icon logic
Contributes to CL-1153
This commit is contained in:
parent
ebb31409b8
commit
1494daf671
1 changed files with 1 additions and 5 deletions
|
@ -65,11 +65,7 @@ Item
|
|||
case "error":
|
||||
return "../svg/aborted-icon.svg"
|
||||
case "wait_cleanup":
|
||||
if (printJob.state == "wait_cleanup" && printJob.timeTotal > printJob.timeElapsed)
|
||||
{
|
||||
return "../svg/aborted-icon.svg"
|
||||
}
|
||||
return "";
|
||||
return printJob.timeTotal > printJob.timeElapsed ? "../svg/aborted-icon.svg" : "";
|
||||
case "pausing":
|
||||
return "../svg/paused-icon.svg"
|
||||
case "paused":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue