Update pkg/tui/views/dashboard/help_bar.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -79,10 +79,10 @@ func (h HelpBar) fullHelp() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (h HelpBar) Height() int {
|
func (h HelpBar) Height() int {
|
||||||
if h.showAll {
|
if h.width == 0 {
|
||||||
return 3
|
return 0
|
||||||
}
|
}
|
||||||
return 1
|
return lipgloss.Height(h.View())
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h HelpBar) IsExpanded() bool {
|
func (h HelpBar) IsExpanded() bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user