Browse Source

Fixed RootView's EmptyView keymap text

Broke due to command renaming
repl
rxi 5 years ago
parent
commit
762c1e2b69
  1. 4
      data/core/rootview.lua

4
data/core/rootview.lua

@ -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

Loading…
Cancel
Save