mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
TEST
This commit is contained in:
@@ -134,9 +134,11 @@ local function sliderList_update()
|
|||||||
x, y = GLOBAL_TRANSFORM:inverseTransformPoint(love.mouse.getPosition())
|
x, y = GLOBAL_TRANSFORM:inverseTransformPoint(love.mouse.getPosition())
|
||||||
elseif #love.touch.getTouches() == 1 then
|
elseif #love.touch.getTouches() == 1 then
|
||||||
x, y = love.touch.getPosition(love.touch.getTouches()[1])
|
x, y = love.touch.getPosition(love.touch.getTouches()[1])
|
||||||
|
else
|
||||||
|
return
|
||||||
end
|
end
|
||||||
for _, s in pairs(sliderList) do
|
for _, s in pairs(sliderList) do
|
||||||
s:update(x, y, x and y)
|
s:update(x, y, true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user