This commit is contained in:
phidias authored and GitHub committed 2026-11-17 14:19:41 +09:00
1 parent 2cab8eafef
commit bf6112d041
1 file changed
+1 -1
+1 -1
View File
@@ -340,7 +340,7 @@ function Elements.change(event)
end
local ok, result = Elements.parse(event.text:lower())
label.style.font_color = ok and {0, 0, 0} or {1, 0, 0}
label.style.font_color = ok and {1, 1, 1} 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)})