Skip to content

Commit

Permalink
Merge pull request #98 from blackwind/master
Browse files Browse the repository at this point in the history
Make automatic log scrolling work at all window sizes
  • Loading branch information
blackwind committed Aug 18, 2016
2 parents e40b256 + 8444e07 commit 770c900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eg/Classes/MainFrame/LogCtrl.py
Expand Up @@ -264,7 +264,7 @@ def OnStartDrag(self, event):
self.Refresh()

def Scroll(self):
if len(self.data) <= (self.GetTopItem() + self.GetCountPerPage() + 1):
if len(self.data) <= (self.GetTopItem() + self.GetCountPerPage() + 2):
self.ScrollList(0, 1000000)

@eg.AssertInMainThread
Expand Down

0 comments on commit 770c900

Please sign in to comment.