Skip to content

Commit 8e1464f

Browse files
committed
Don't redraw remote branches view when its width changes
The rendering of remote branches is in no way dependent on the width of the view (or the screen mode). Unlike in the local branches view, we don't truncate long branch names here (because there's no more information after them). This is an error introduced in d5b4f7b.
1 parent a62a508 commit 8e1464f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/gui/context/remote_branches_context.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ func NewRemoteBranchesContext(
4343
Kind: types.SIDE_CONTEXT,
4444
Focusable: true,
4545
Transient: true,
46-
NeedsRerenderOnWidthChange: true,
4746
NeedsRerenderOnHeightChange: true,
4847
})),
4948
ListRenderer: ListRenderer{

0 commit comments

Comments
 (0)