standalone: fix bottom padding for track names

This commit is contained in:
Franzi 2023-12-23 22:13:00 +01:00
parent 0acc6cf5e0
commit 5f98771957

View file

@ -205,7 +205,7 @@ function node.render()
font_text, info_size, NATIVE_WIDTH - col2 - PADDING
)
if y + #title_lines * TALK_FONT_SIZE + 3 + #info_lines * info_size > NATIVE_HEIGHT - space_used_for_tracks*info_size - PADDING*2 then
if y + #title_lines * TALK_FONT_SIZE + 3 + #info_lines * info_size > NATIVE_HEIGHT - space_used_for_tracks*(info_size+PADDING) - PADDING then
break
end