mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
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:
+6
-6
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user