improvemets by comments PR

This commit is contained in:
rafaelbarbosatec
2020-06-23 12:10:22 -03:00
parent 48f04dc23b
commit e0924610b3

View File

@ -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();
}
}