Use 9-slice background in formspec theme
authorrubenwardy <rw@rubenwardy.com>
Sun, 23 Jun 2019 23:10:13 +0000 (00:10 +0100)
committerParamat <paramat@users.noreply.github.com>
Sun, 23 Jun 2019 23:10:13 +0000 (00:10 +0100)
mods/default/init.lua

index b89fd0ebc79912fbe73e4eca2f0cef6656eca81c..47827528ff09699c19f0c10e1b235c584190f53c 100644 (file)
@@ -13,6 +13,7 @@ minetest.register_on_joinplayer(function(player)
        player:set_formspec_prepend([[
                        bgcolor[#080808BB;true]
                        background[5,5;1,1;gui_formbg.png;true]
+                       background[5,5;1,1;gui_formbg.png;true;10]
                        listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF] ]])
 end)