From 2cab8eafef8c5b2dbbe008487748362131b9e25b Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 17 Nov 2026 14:17:55 +0900 Subject: [PATCH] . --- exp_scenario/module/gui/calculator.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exp_scenario/module/gui/calculator.lua b/exp_scenario/module/gui/calculator.lua index 5161874c..f36a1276 100644 --- a/exp_scenario/module/gui/calculator.lua +++ b/exp_scenario/module/gui/calculator.lua @@ -340,7 +340,7 @@ function Elements.change(event) end local ok, result = Elements.parse(event.text:lower()) - label.font_color = ok and {0, 0, 0} or {1, 0, 0} + label.style.font_color = ok and {0, 0, 0} or {1, 0, 0} label.caption = ok and ("= " .. format_number(result, false)) or (type(result) == "table" and result or {"", {"exp-gui_calculator.error"}, tostring(result)})