This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-05-24 23:30:22 +07:00
parent 96809a46f6
commit 4d4bfd1482

View File

@@ -134,9 +134,11 @@ local function sliderList_update()
x, y = GLOBAL_TRANSFORM:inverseTransformPoint(love.mouse.getPosition())
elseif #love.touch.getTouches() == 1 then
x, y = love.touch.getPosition(love.touch.getTouches()[1])
else
return
end
for _, s in pairs(sliderList) do
s:update(x, y, x and y)
s:update(x, y, true)
end
end