Fixed critical typos in updateInputNoCallback

This commit is contained in:
Brandon Dyck 2024-04-15 20:06:46 -06:00
parent 2283224516
commit f17eca0e52

View File

@ -5,6 +5,8 @@ local Clock = require"clock"
local clock
local inputSource
function love.mousemoved(x, y, dx, dy, istouch)
clock:movemouse(x, y)
end
@ -55,10 +57,10 @@ function love.load()
minuteBox.OnValueChanged = setClock
function updateInputNoCallback(input, value)
callback = input.onValueChanged
input.onValueChanged = nil
local callback = input.OnValueChanged
input.OnValueChanged = nil
input:SetValue(value)
input.onValueChanged = callback
input.OnValueChanged = callback
end
function updateInputs(time)