mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-26 13:49:21 +08:00
possible fix
This commit is contained in:
parent
975375329e
commit
01e1f5e9fd
2
start.go
2
start.go
@ -473,7 +473,7 @@ func start(application *tview.Application, args Args) {
|
|||||||
|
|
||||||
init := false
|
init := false
|
||||||
gomu.app.SetAfterDrawFunc(func(_ tcell.Screen) {
|
gomu.app.SetAfterDrawFunc(func(_ tcell.Screen) {
|
||||||
if !init && !gomu.player.IsRunning() {
|
if !init && len(gomu.queue.items) == 0 {
|
||||||
gomu.playingBar.setDefault()
|
gomu.playingBar.setDefault()
|
||||||
init = true
|
init = true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user