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
@@ -44,8 +44,8 @@ local function save(filename)
else
core.error(err)
core.nag_view:show("Saving failed", string.format("Could not save \"%s\" do you want to save to another location?", doc().filename), {
{ font = style.font, text = "No", default_no = true },
{ font = style.font, text = "Yes" , default_yes = true }
{ text = "No", default_no = true },
{ text = "Yes", default_yes = true }
}, function(item)
if item.text == "Yes" then
core.add_thread(function()