]> git.lizzy.rs Git - signs_lib.git/commit
allow custom nodes to define the text entity's size
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Thu, 15 Sep 2016 10:57:38 +0000 (06:57 -0400)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Thu, 15 Sep 2016 11:20:34 +0000 (07:20 -0400)
commita6caa51a857e69f039492465308cb0a522fb40cf
treeadaf2d159c2ac7b74238aebe23e4a802287a7cf7
parent707f28c309bc114ee301bf6a9095b4d5f23ddc06
allow custom nodes to define the text entity's size
in your node def, add:

text_size = {x=foo, y=bar},

Size defaults to x=0.8 and y=0.5, respectively.
init.lua