Skip to content

Commit

Permalink
chore(player): Remove unused struct var
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Jul 28, 2024
1 parent 8a922a9 commit 83b3108
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions internal/player/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ func NewPlayer(m *movie.Movie, logger zerolog.Logger, renderer *lipgloss.Rendere
player := &Player{
movie: m,
log: logger.Hook(loghooks.NewDuration()),
renderer: renderer,
zone: zone.New(),
speed: 1,
selectedOption: 3,
Expand All @@ -42,11 +41,10 @@ func NewPlayer(m *movie.Movie, logger zerolog.Logger, renderer *lipgloss.Rendere
}

type Player struct {
movie *movie.Movie
frame int
log zerolog.Logger
renderer *lipgloss.Renderer
zone *zone.Manager
movie *movie.Movie
frame int
log zerolog.Logger
zone *zone.Manager

speed float64
playCtx context.Context
Expand Down

0 comments on commit 83b3108

Please sign in to comment.