mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
Remove return value of HandleRender
This commit is contained in:
parent
5659f1f3e9
commit
b91beb68e1
14 changed files with 25 additions and 40 deletions
|
@ -54,7 +54,7 @@ func (self *ListController) HandleScrollUp() error {
|
|||
scrollHeight := self.c.UserConfig().Gui.ScrollHeight
|
||||
self.context.GetViewTrait().ScrollUp(scrollHeight)
|
||||
if self.context.RenderOnlyVisibleLines() {
|
||||
return self.context.HandleRender()
|
||||
self.context.HandleRender()
|
||||
}
|
||||
|
||||
return nil
|
||||
|
@ -64,7 +64,7 @@ func (self *ListController) HandleScrollDown() error {
|
|||
scrollHeight := self.c.UserConfig().Gui.ScrollHeight
|
||||
self.context.GetViewTrait().ScrollDown(scrollHeight)
|
||||
if self.context.RenderOnlyVisibleLines() {
|
||||
return self.context.HandleRender()
|
||||
self.context.HandleRender()
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue