1
0
mirror of https://github.com/pyrollo/display_modpack.git synced 2025-07-04 00:51:21 +02:00

Added display_lib.entity_spacing variable to centralize entity spacing.

This commit is contained in:
Pierre-Yves Rollo
2018-01-18 21:46:10 +01:00
parent a71ae8e013
commit ea36ed50d8
3 changed files with 7 additions and 2 deletions

View File

@ -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,