From 4d4bfd148204bbef85f4ea4eea9b2983c7d94a71 Mon Sep 17 00:00:00 2001 From: "Squishy (C6H12O6+NaCl+H2O)" <106439598+SweetSea-ButImNotSweet@users.noreply.github.com> Date: Fri, 24 May 2024 23:30:22 +0700 Subject: [PATCH] TEST --- scene/touch_config.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scene/touch_config.lua b/scene/touch_config.lua index 78b3105..b9c3ad4 100644 --- a/scene/touch_config.lua +++ b/scene/touch_config.lua @@ -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