Skip to content

Commit

Permalink
fix: operator precedence bug
Browse files Browse the repository at this point in the history
  • Loading branch information
horriblename committed Dec 26, 2023
1 parent 6ee5c1c commit ee99601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GestureManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ bool handleGestureBind(std::string bind, bool pressed) {
continue;

if (k.handler == "mouse") {
DISPATCHER->second(pressed ? "1" : "0" + k.arg);
DISPATCHER->second((pressed ? "1" : "0") + k.arg);
} else {
DISPATCHER->second(k.arg);
}
Expand Down

0 comments on commit ee99601

Please sign in to comment.