NagView: properly rescale on scale change (#1379)

* drop font option since style.font is always used
This commit is contained in:
Jefferson González
2023-08-19 12:37:49 +08:00
committed by takase1121
parent 6925c06599
commit 70ed171612
5 changed files with 22 additions and 12 deletions
+2 -2
View File
@@ -685,8 +685,8 @@ command.add(
local file_type = file_info.type == "dir" and "Directory" or "File"
-- Ask before deleting
local opt = {
{ font = style.font, text = "Yes", default_yes = true },
{ font = style.font, text = "No" , default_no = true }
{ text = "Yes", default_yes = true },
{ text = "No", default_no = true }
}
core.nag_view:show(
string.format("Delete %s", file_type),