diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2018-01-18 21:46:10 +0100 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2018-01-18 21:46:10 +0100 |
commit | ea36ed50d886677c79ec7ddf056c9815f040835e (patch) | |
tree | cafde49546be123f3300acfce434c3571e9de22f /signs | |
parent | a71ae8e01314d0653f785a022a898636cdf54424 (diff) | |
download | display_modpack-ea36ed50d886677c79ec7ddf056c9815f040835e.tar.gz display_modpack-ea36ed50d886677c79ec7ddf056c9815f040835e.tar.bz2 display_modpack-ea36ed50d886677c79ec7ddf056c9815f040835e.zip |
Added display_lib.entity_spacing variable to centralize entity spacing.
Diffstat (limited to 'signs')
-rw-r--r-- | signs/common.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/signs/common.lua b/signs/common.lua index 49c6dd4..b49716e 100644 --- a/signs/common.lua +++ b/signs/common.lua @@ -158,7 +158,7 @@ function signs.register_sign(mod, name, model) display_entities = { ["signs:display_text"] = { on_display_update = font_lib.on_display_update, - depth = 0.499 - model.depth, + depth = 0.5 - display_lib.entity_spacing - model.depth, size = { x = model.width, y = model.height }, resolution = { x = 64, y = 64 }, maxlines = 1, |