Minor cleanup in core.statusview and core.commands.core

This commit is contained in:
rxi committed 2020-05-01 20:17:10 +01:00
1 parent a9f3079c90
commit 28cdd3cabe
2 files changed
-7

No files matched your search

-5
View File
@@ -110,11 +110,6 @@ end
function StatusView:draw()
self:draw_background(style.background2)
local th = style.font:get_height()
local x, y = self:get_content_offset()
x = x + style.padding.x
y = y + (self.size.y - th) / 2
if self.message then
self:draw_items(self.message, false, self.size.y)
end