Skip to content

Commit

Permalink
Fix JoseExposito#508: Repeated action: Do not run action twice on end
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseExposito committed Jul 3, 2021
1 parent 4c7bb95 commit a88270e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/actions/repeated-action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ void RepeatedAction::onGestureUpdate(const Gesture &gesture) {
}

void RepeatedAction::onGestureEnd(const Gesture &gesture) {
AnimatedAction::onGestureEnd(gesture);

if (!this->repeat && !this->onBegin) {
if (gesture.percentage() >= this->threshold) {
this->executeAction(gesture);
Expand Down

0 comments on commit a88270e

Please sign in to comment.