This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-05-21 23:29:11 +07:00
parent 0aab8c8d74
commit 64336f7cbc
2 changed files with 6 additions and 8 deletions

View File

@@ -77,13 +77,13 @@ end
function TouchConfigScene:onInputPress(e)
if e.input == 'menu_back' then SCENE = InputConfigScene() end
if e.type == "mouse" or e.type == "touch" then
BUTTON.press(buttonList, e.x, e.y, e.type == "touch")
BUTTON.press(buttonList, e.x, e.y)
end
end
---@param e SCENE_onInput
function TouchConfigScene:onInputRelease(e)
if e.type == "mouse" or e.type == "touch" then
BUTTON.release(buttonList, e.x, e.y, e.type == "touch")
BUTTON.release(buttonList, e.x, e.y)
end
end