Minor cleanup in core.statusview and core.commands.core
This commit is contained in:
parent
a9f3079c90
commit
28cdd3cabe
|
@ -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"
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue