Skip to content

Commit

Permalink
fix(layout): don't set group width to window width
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbunni committed Jan 8, 2025
1 parent 50eb691 commit dcf4830
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion group.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ func (g *Group) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
switch msg := msg.(type) {
case tea.WindowSizeMsg:
g.WithHeight(min(g.fullHeight(), msg.Height-helpMenuHeight))
g.WithWidth(msg.Width)
case nextFieldMsg:
cmds = append(cmds, g.nextField()...)
case prevFieldMsg:
Expand Down

0 comments on commit dcf4830

Please sign in to comment.