Don't let the cursor go behind the bottom scrollbar.
This commit is contained in:
parent
d6705d55bc
commit
732d68b16a
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ class Editor:
|
|||
|
||||
def follow_cursor(self):
|
||||
height = self.last_height
|
||||
height -= 1 # header
|
||||
height -= 2 # header + scrollbar
|
||||
width = self.last_width
|
||||
width -= 1 # scrollbar
|
||||
view_x, view_y = self.view_widget.position
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue