Fix colors after switching to property
Scott Sibley [08-22-10 - 20:48]
Fix colors after switching to property
diff --git a/Modules/Text.lua b/Modules/Text.lua
index 161c8af..1362189 100644
--- a/Modules/Text.lua
+++ b/Modules/Text.lua
@@ -469,7 +469,8 @@ do
fontString:SetText(widget.buffer)
if true then
- c = mod.evaluator.ExecuteCode(environment, widget.widget.name .. ".color.script", widget.color.script)
+ widget.color:Eval()
+ c = widget.color.result --mod.evaluator.ExecuteCode(environment, widget.widget.name .. ".color.script", widget.color.script)
else
StarTip:Print("color nil -- please report this", widget.widget and widget.widget.name)
end