Added scroll bounds

Resolves #9
Resolves #6
Resolves #3
This commit is contained in:
rxi
2020-05-02 00:21:04 +01:00
parent 28cdd3cabe
commit 9fc185af2f
5 changed files with 10 additions and 8 deletions
-1
View File
@@ -27,7 +27,6 @@ function LogView:update()
self.yoffset = -(style.font:get_height() + style.padding.y)
end
self.scroll.to.y = math.max(0, self.scroll.to.y)
self:move_towards("yoffset", 0)
LogView.super.update(self)