From 1ff658454ec678138ef8f89213e4ac0d5d7ddcad Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Sat, 27 Apr 2024 05:26:42 -0500 Subject: [PATCH] fix(player): Fix options not always updating during pause --- internal/movie/player.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/movie/player.go b/internal/movie/player.go index 77db9ed..4297743 100644 --- a/internal/movie/player.go +++ b/internal/movie/player.go @@ -317,10 +317,12 @@ func (p *Player) HelpView() string { } func (p *Player) pause() { + p.optionViewStale = true p.clearTimeouts() } func (p *Player) play() tea.Cmd { + p.optionViewStale = true p.clearTimeouts() p.playCtx, p.playCancel = context.WithCancel(context.Background()) return func() tea.Msg {