mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Change deactiveStates to inactiveStates
Contributes to CL-1047
This commit is contained in:
parent
79aeca9663
commit
90426749a2
3 changed files with 6 additions and 4 deletions
|
@ -696,13 +696,13 @@ Component
|
|||
color:
|
||||
{
|
||||
var state = modelData.activePrintJob.state
|
||||
var deactiveStates = [
|
||||
var inactiveStates = [
|
||||
"pausing",
|
||||
"paused",
|
||||
"resuming",
|
||||
"wait_cleanup"
|
||||
]
|
||||
if(deactiveStates.indexOf(state) > -1 && remainingTime > 0)
|
||||
if(inactiveStates.indexOf(state) > -1 && remainingTime > 0)
|
||||
{
|
||||
return UM.Theme.getColor("monitor_secondary_text")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue