We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86346a8 commit 60a7845Copy full SHA for 60a7845
app/GitBrunch.hs
@@ -117,7 +117,9 @@ appDraw state =
117
where
118
padding = str " "
119
maxWidth w = C.hCenter . hLimit w
120
- toBranchList r lens' = state ^. lens' & drawBranchList (state ^. focusL == r)
+ toBranchList r lens' =
121
+ let isActive = state ^. focusL == r && not (_isEditingFilter state)
122
+ in state ^. lens' & drawBranchList isActive
123
filterEdit = if _isEditingFilter state then drawFilter state else emptyWidget
124
branchLists = hBox
125
[ C.hCenter $ toBranchList RLocal localBranchesL
0 commit comments