mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-18 06:19:34 +01:00
use proper colors in mcl_skins
This commit is contained in:
parent
f51deb0737
commit
a2fcd28a3d
1 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ end)
|
|||
mcl_skins.show_formspec = function(playername)
|
||||
local formspec = "size[7,8.5]"
|
||||
|
||||
formspec = formspec .. "label[2,2;" .. minetest.formspec_escape(minetest.colorize("#383838", S("Select player skin:"))) .. "]"
|
||||
formspec = formspec .. "label[2,2;" .. minetest.formspec_escape(minetest.colorize(mcl_colors.DARK_GRAY, S("Select player skin:"))) .. "]"
|
||||
.. "textlist[0,2.5;6.8,6;skins_set;"
|
||||
|
||||
local meta
|
||||
|
@ -265,7 +265,7 @@ mcl_skins.show_formspec = function(playername)
|
|||
|
||||
if meta then
|
||||
if meta.name and meta.name ~= "" then
|
||||
formspec = formspec .. "label[2,0.5;" .. minetest.formspec_escape(minetest.colorize("#383838", S("Name: @1", meta.name))) .. "]"
|
||||
formspec = formspec .. "label[2,0.5;" .. minetest.formspec_escape(minetest.colorize(mcl_colors.DARK_GRAY, S("Name: @1", meta.name))) .. "]"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue