From 5f98771957db433a43859657d78050aca2896f82 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 23 Dec 2023 22:13:00 +0100 Subject: [PATCH] standalone: fix bottom padding for track names --- node.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.lua b/node.lua index 6df0452..c62876c 100644 --- a/node.lua +++ b/node.lua @@ -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