local function input_callback(input)
if input.pressed_now then
gui.set_color(input.node, dcolors.palette.c2)
elseif input.deselected_now then
gui.set_color(input.node, dcolors.palette.c3)
end
end
Input widget's input.deselected_now property is always false. Tested by selecting the widget, entering text, then deselecting the widget. Input bindings match Gooey's expectations correctly.
On line 136 of /gooey/internal/input.lua, local deselected_now = false is never referenced again, so it is never changed to true.
Input widget's
input.deselected_now
property is always false. Tested by selecting the widget, entering text, then deselecting the widget. Input bindings match Gooey's expectations correctly.On line 136 of /gooey/internal/input.lua,
local deselected_now = false
is never referenced again, so it is never changed to true.