This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-05-21 23:37:19 +07:00
parent 7d44fc81ed
commit bf54644287
3 changed files with 10 additions and 10 deletions

View File

@@ -129,7 +129,7 @@ end
function NameEntryScene:onInputPress(e)
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)
elseif e.input == "menu_decide" or e.input == "rotate_left" or e.scancode == "return" then
self.delete_confirm = false
self.delete_input_count = 0
@@ -199,7 +199,7 @@ end
function NameEntryScene: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)
elseif e.input == "left" or e.scancode == "left" or e.input == "right" or e.scancode == "right" then
self.direction = nil
self.repeat_counter = self.repeat_limit-1