summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2021-02-21 19:46:23 -0600
committercheapie <no-email-for-you@example.com>2021-02-21 19:46:23 -0600
commite421f0a5c0cc19e3ccac7a4de6e4ec8fab43608d (patch)
tree914b730c40313729eafa33138c8cfa6a08296747
parenta38debb5924a7febcbe33617afbfda4722c0611e (diff)
downloaddigistuff-e421f0a5c0cc19e3ccac7a4de6e4ec8fab43608d.tar
digistuff-e421f0a5c0cc19e3ccac7a4de6e4ec8fab43608d.tar.gz
digistuff-e421f0a5c0cc19e3ccac7a4de6e4ec8fab43608d.tar.bz2
digistuff-e421f0a5c0cc19e3ccac7a4de6e4ec8fab43608d.tar.xz
digistuff-e421f0a5c0cc19e3ccac7a4de6e4ec8fab43608d.zip
Change control panel text color to black
-rw-r--r--panel.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/panel.lua b/panel.lua
index 7ecc633..70f5042 100644
--- a/panel.lua
+++ b/panel.lua
@@ -13,7 +13,7 @@ digistuff.update_panel_formspec = function (pos,dispstr)
"image_button[3,6.5;1,1;digistuff_adwaita_emblem-default.png;enter;]"..
"field[6,5.75;2,1;channel;Channel;${channel}]"..
"button[8,5.5;1,1;savechan;Set]"
- fs = fs:format(minetest.formspec_escape(dispstr)):gsub("|","\n")
+ fs = fs:format(minetest.colorize("#000000",minetest.formspec_escape(dispstr):gsub("|","\n")))
meta:set_string("formspec",fs)
meta:set_string("text",dispstr)
end