mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 20:13:50 +08:00
improvemets by comments PR
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user