mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-17 14:25:27 +09:00
.
This commit is contained in:
1 parent
1ec31d4e48
commit
2cab8eafef
1 file changed
+1
-1
@@ -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)})
|
||||
|
||||
Reference in new issue
Block a user