aboutsummaryrefslogtreecommitdiff
path: root/steles
diff options
context:
space:
mode:
authorPierre-Yves Rollo <dev@pyrollo.com>2018-01-18 21:46:10 +0100
committerPierre-Yves Rollo <dev@pyrollo.com>2018-01-18 21:46:10 +0100
commitea36ed50d886677c79ec7ddf056c9815f040835e (patch)
treecafde49546be123f3300acfce434c3571e9de22f /steles
parenta71ae8e01314d0653f785a022a898636cdf54424 (diff)
downloaddisplay_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 'steles')
-rw-r--r--steles/nodes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/steles/nodes.lua b/steles/nodes.lua
index 87f4e9b..5dba981 100644
--- a/steles/nodes.lua
+++ b/steles/nodes.lua
@@ -59,7 +59,7 @@ for i, material in ipairs(steles.materials) do
display_entities = {
["steles:text"] = {
on_display_update = font_lib.on_display_update,
- depth = -2/16-0.001, height = 2/16,
+ depth = -2/16 - display_lib.entity_spacing, height = 2/16,
size = { x = 14/16, y = 12/16 },
resolution = { x = 11, y = 5 },
maxlines = 3,