Skip to content

Commit

Permalink
fix: regression in long press detection
Browse files Browse the repository at this point in the history
  • Loading branch information
arcadien committed Nov 23, 2023
1 parent 5031b9a commit eb22ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Domain/Contactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ void Contactor::onDown(long now) {

void Contactor::onUp(long now) {
currentState = State::Up;
downStartTime = 0;
onShortPress();
checkForLongPress(now);
downStartTime = 0;
}

void Contactor::processPendingEvent(long now) {
Expand Down

0 comments on commit eb22ae5

Please sign in to comment.