Fix tab action button id generation
This commit is contained in:
parent
726667399f
commit
9c4605cda2
@ -288,10 +288,10 @@ local PAGES = {
|
|||||||
local function tabActionList(interval, count, sign, spacing)
|
local function tabActionList(interval, count, sign, spacing)
|
||||||
local buttons = {}
|
local buttons = {}
|
||||||
if count > 0 then
|
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
|
for i=2,count do
|
||||||
table.insert(buttons, Element:new{ width = spacing })
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user