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

This commit is contained in:
rxi 2020-05-01 20:17:10 +01:00
parent a9f3079c90
commit 28cdd3cabe
2 changed files with 0 additions and 7 deletions

View File

@ -2,8 +2,6 @@ local core = require "core"
local common = require "core.common"
local command = require "core.command"
local keymap = require "core.keymap"
local Doc = require "core.doc"
local DocView = require "core.docview"
local LogView = require "core.logview"

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