Commit b19625e
refactor: drop
The local was assigned immediately to `self._offset`, then the
follow-mode check re-read it as `new_offset == 0`. Reading
`self._offset` directly after assignment has identical semantics
— the alias added no value.
Sibling `scroll_up` keeps its local because it compares the new
value against the old one *before* the assignment (to conditionally
disable auto-scroll), which requires two distinct values.
`scroll_down` has no such comparison, so the alias is dead.
Same shape as ef176bf (`line_count`) and 134078d (`name_col`).
Co-authored-by: Ralphify <noreply@ralphify.co>new_offset alias in _FullscreenPeek.scroll_down
1 parent 9e88c6a commit b19625e
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
763 | 763 | | |
764 | 764 | | |
765 | 765 | | |
766 | | - | |
767 | | - | |
768 | | - | |
| 766 | + | |
| 767 | + | |
769 | 768 | | |
770 | 769 | | |
771 | 770 | | |
| |||
0 commit comments