Long line

This commit is contained in:
luk3yx 2025-03-03 13:52:51 +13:00
parent bea549ec31
commit bb4f0c9750

View File

@ -122,7 +122,9 @@ local function get_and_fill_in_sizes(node)
local style = node.style local style = node.style
local slot_w, slot_h = parse_v2f(style and style.size, 1, 1) local slot_w, slot_h = parse_v2f(style and style.size, 1, 1)
local spacing_w, spacing_h = parse_v2f(style and style.spacing, 0.25, 0.25) local spacing_w, spacing_h = parse_v2f(
style and style.spacing, 0.25, 0.25
)
local w = node.w * (slot_w + spacing_w) - spacing_w local w = node.w * (slot_w + spacing_w) - spacing_w
local h = node.h * (slot_h + spacing_h) - spacing_h local h = node.h * (slot_h + spacing_h) - spacing_h