made all functions local

Signed-off-by: Ebbe <ebbe@ping-mee.de>
This commit is contained in:
2025-06-23 10:34:14 +02:00
parent 4ec5ca8d5e
commit 3daf6dea85
+4 -4
View File
@@ -19,7 +19,7 @@ local song_bpm = 120
local song_page_num = 1
local main_sequence_location = 1
function CreatorMenu()
local function CreatorMenu()
local inputs = {
{name = "Song Name", value = song_name, maxTextLength = 50},
{name = "BPM", value = tostring(song_bpm), whiteFilter = "0123456789"},
@@ -154,7 +154,7 @@ local function LimitReachedMenu(main_sequence_no)
end
end
function StartPointerCueSelectionMenu(main_sequence_no)
local function StartPointerCueSelectionMenu(main_sequence_no)
local cues = ObjectList('Sequence '..main_sequence_no..' Cue Thru')
local cueTable = {}
@@ -226,7 +226,7 @@ function StartPointerCueSelectionMenu(main_sequence_no)
end
end
function StartPointMenu()
local function StartPointMenu()
local sequences = ObjectList('Sequence Thru')
local main_sequences = {}
for i = 1, tablelength(sequences) do
@@ -308,7 +308,7 @@ end
-- Main menu
function main(display_handle, args)
local function main(display_handle, args)
debug_print(tostring(args))
if args then
local cues = SelectedSequence():Children()