#344 added focus navigation to checkboxes and radio buttons, refactor of enable handlers

This commit is contained in:
Mikayla Fischler
2023-09-23 14:31:37 -04:00
parent 1f9743efd0
commit 645a5f5137
8 changed files with 100 additions and 31 deletions

View File

@@ -176,12 +176,12 @@ local function spinbox(args)
end
-- enable this input
function e.enable()
function e.on_enabled()
draw_arrows(args.arrow_fg_bg.fgd)
end
-- disable this input
function e.disable()
function e.on_disabled()
draw_arrows(args.arrow_disable or colors.lightGray)
end