diff --git a/lib/components/joystick/joystick_action.dart b/lib/components/joystick/joystick_action.dart index 69b014544..5b09e3b15 100644 --- a/lib/components/joystick/joystick_action.dart +++ b/lib/components/joystick/joystick_action.dart @@ -201,7 +201,7 @@ class JoystickAction { event: ActionEvent.DOWN, ), ); - pressed(); + tapDown(); _currentDragEvent = event; _currentDragEvent ..onUpdate = onPanUpdate @@ -238,7 +238,7 @@ class JoystickAction { event: ActionEvent.UP, ), ); - unPressed(); + tapUp(); } void onPanCancel() { @@ -251,6 +251,6 @@ class JoystickAction { event: ActionEvent.CANCEL, ), ); - unPressed(); + tapUp(); } }