From 9c4605cda2cfa82a2b4b5e3f1be64c7de476eb29 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Fri, 25 Oct 2024 18:21:54 +0200 Subject: [PATCH] Fix tab action button id generation --- itemcontroller.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itemcontroller.lua b/itemcontroller.lua index b655d7c..d35bb6d 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -288,10 +288,10 @@ local PAGES = { local function tabActionList(interval, count, sign, spacing) local buttons = {} if count > 0 then - table.insert(buttons, tabActionButton(tabActionButtonID(tabActionButtonValue(1, interval, count, sign)))) + table.insert(buttons, tabActionButton(tabActionButtonValue(1, interval, count, sign))) for i=2,count do table.insert(buttons, Element:new{ width = spacing }) - table.insert(buttons, tabActionButton(tabActionButtonID(tabActionButtonValue(i, interval, count, sign)))) + table.insert(buttons, tabActionButton(tabActionButtonValue(i, interval, count, sign))) end end