Merge pull request #435 from argonui/ta-percentage
Token Arranger: create percetange labels onLoad if temp tokens present
This commit is contained in:
commit
c18ab6384e
@ -70,6 +70,12 @@ function onLoad(saveState)
|
||||
|
||||
createButtonsAndInputs()
|
||||
|
||||
-- maybe trigger layout() to draw percentage buttons
|
||||
local objList = getObjectsWithTag("tempToken")
|
||||
if #objList > 0 then
|
||||
Wait.time(layout, 0.5)
|
||||
end
|
||||
|
||||
-- context menu items
|
||||
self.addContextMenuItem("Load default values", function()
|
||||
loadDefaultValues()
|
||||
|
Loading…
Reference in New Issue
Block a user