#84 auto-incrementing x with line break function, removed need for get_offset by having parent prepare child template

This commit is contained in:
Mikayla Fischler
2022-07-28 11:17:34 -04:00
parent f4f36b020b
commit 14b24678f9
17 changed files with 144 additions and 124 deletions

View File

@@ -63,7 +63,7 @@ local function push_button(args)
args.callback()
end
return e.complete()
return e.get()
end
return push_button

View File

@@ -65,7 +65,7 @@ local function scram_button(args)
args.callback()
end
return e.complete()
return e.get()
end
return scram_button

View File

@@ -112,7 +112,7 @@ local function spinbox(args)
---@return number|integer
function e.get_value() return value end
return e.complete()
return e.get()
end
return spinbox

View File

@@ -73,7 +73,7 @@ local function switch_button(args)
args.callback(state)
end
return e.complete()
return e.get()
end
return switch_button