Keep player session alive and stop repeated rebuilds

This commit is contained in:
Stu 2025-12-10 04:59:43 -05:00
parent 47067aabf0
commit 22e325e123

View File

@ -581,8 +581,7 @@ func (s *appState) showPlayerView() {
fmt.Printf("📺 already in player view; skipping rebuild\n")
return
}
s.stopPreview()
// Keep playSess alive; only stop compare sessions to avoid killing playback.
// Do not stop the player; only clear compare previews.
s.stopCompareSessions()
s.active = "player"
fmt.Printf("📺 s.source is nil: %v\n", s.source == nil)
@ -656,8 +655,6 @@ func (s *appState) showPlayerView() {
}
}()
}
refresh()
})
keyframeModeItem.Checked = s.keyframingMode
toolsMenu.Items = append(toolsMenu.Items, keyframeModeItem)