diff --git a/internal/ui/panes/root_pane.go b/internal/ui/panes/root_pane.go index bc6b9200..f8e8393e 100644 --- a/internal/ui/panes/root_pane.go +++ b/internal/ui/panes/root_pane.go @@ -68,14 +68,6 @@ func (p *RootPane) getCurrentlyActivePanesInOrder() (active []ui.Pane, inactive // append day, week, or month pane active = append(active, p.focussedViewPane) - // TODO: this change breaks the cursor hiding, as that is done in the draw - // call when !condition. it should be done differently anyways though, - // imo. - if p.log.IsVisible() { - active = append(active, p.log) - } else { - inactive = append(inactive, p.log) - } if p.summary.IsVisible() { active = append(active, p.summary) } else { @@ -90,6 +82,12 @@ func (p *RootPane) getCurrentlyActivePanesInOrder() (active []ui.Pane, inactive } } + if p.log.IsVisible() { + active = append(active, p.log) + } else { + inactive = append(inactive, p.log) + } + // TODO: help should probably be a subpane? for now, always on top. if p.help.IsVisible() { active = append(active, p.help)