ui/app: rename StageVisible and StageInvisible

StageRunning and StagePaused better reflect their use.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-05-12 14:59:07 +02:00
parent 4441a3e13e
commit e2a1f07b84
8 changed files with 30 additions and 30 deletions
+6 -6
View File
@@ -43,8 +43,8 @@ type Input interface {
const (
StageDead Stage = iota
StageInvisible
StageVisible
StagePaused
StageRunning
)
const (
@@ -101,10 +101,10 @@ func (l Stage) String() string {
switch l {
case StageDead:
return "StageDead"
case StageInvisible:
return "StageInvisible"
case StageVisible:
return "StageVisible"
case StagePaused:
return "StagePaused"
case StageRunning:
return "StageRunning"
default:
panic("unexpected Stage value")
}