summaryrefslogtreecommitdiffstats
path: root/pkg/gui/context/list_renderer.go
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-06-06 16:54:27 +0200
committerStefan Haller <stefan@haller-berlin.de>2024-06-23 11:54:21 +0200
commitdd2bffc278dc3879e112caa3effd9c9c426489af (patch)
tree6e48b8f181b687eaecf275c845e6a5adbcc05c81 /pkg/gui/context/list_renderer.go
parent9eb9b369ffc7c99854e2565da9996c3dcc6116c8 (diff)
Simplify ListContextTrait.FocusLine
When refreshViewportOnChange is true, we would refresh the viewport once at the end of FocusLine, and then we would check at the end of AfterLayout if the origin has changed, and refresh again if so. That's unnecessarily complicated, let's just unconditionally refresh at the end of AfterLayout only.
Diffstat (limited to 'pkg/gui/context/list_renderer.go')
0 files changed, 0 insertions, 0 deletions