Fixed RootView's EmptyView keymap text

Broke due to command renaming
This commit is contained in:
rxi 2020-05-07 21:46:21 +01:00
parent f5025efbb8
commit 762c1e2b69

View file

@ -15,8 +15,8 @@ function EmptyView:draw()
local x, y, w, h = pos.x, pos.y, self.size.x, self.size.y
local _, y = common.draw_text(style.big_font, style.dim, "empty", "center", x, y, w, h)
local lines = {
{ fmt = "%s to run a command", cmd = "core:do-command" },
{ fmt = "%s to open a file from the project", cmd = "core:open-project-file" },
{ fmt = "%s to run a command", cmd = "core:command-finder" },
{ fmt = "%s to open a file from the project", cmd = "core:file-finder" },
}
local th = style.font:get_height()
for _, line in ipairs(lines) do