diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2024-06-22 17:55:30 +0200 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-06-23 13:08:01 +0200 |
commit | 8e1464f720d839b6e2c493b8fead0e4d39bbaaa7 (patch) | |
tree | fe869074c4b9ffdab1f6158fd340d70bac882c1a /pkg | |
parent | a62a5089d6ed5ba989279590a5bd3426829c856d (diff) |
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 d5b4f7bb3e.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/gui/context/remote_branches_context.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/gui/context/remote_branches_context.go b/pkg/gui/context/remote_branches_context.go index fff80e076..892953f82 100644 --- a/pkg/gui/context/remote_branches_context.go +++ b/pkg/gui/context/remote_branches_context.go @@ -43,7 +43,6 @@ func NewRemoteBranchesContext( Kind: types.SIDE_CONTEXT, Focusable: true, Transient: true, - NeedsRerenderOnWidthChange: true, NeedsRerenderOnHeightChange: true, })), ListRenderer: ListRenderer{ |