Fix behavior of project manager to store directories

This commit is contained in:
Francesco Abbate
2020-12-08 09:42:11 +01:00
parent a3adfeb8f6
commit c0f0325bbb
2 changed files with 16 additions and 10 deletions
+1
View File
@@ -19,6 +19,7 @@ local function draw_text(x, y, color)
local lines = {
{ fmt = "%s to run a command", cmd = "core:find-command" },
{ fmt = "%s to open a file from the project", cmd = "core:find-file" },
{ fmt = "%s to open a folder", cmd = "project-manager:open-folder" },
}
th = style.font:get_height()
y = y + (dh - th * 2 - style.padding.y) / 2