diff options
author | jmding8 <44815547+jmding8@users.noreply.github.com> | 2021-11-01 10:51:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 13:51:12 -0400 |
commit | 73fd4b9230bec4333fc3ecc74e455af78016f0e2 (patch) | |
tree | aa98673b0ab969723f002788ce97985f82ab9009 /app | |
parent | 19ee7849f80e18d8f29ac47ffeee3bb223c35a80 (diff) |
fix(behavior): Properly break in decision switch statement.
Co-authored-by: jding <jding@roblox.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/src/behaviors/behavior_hold_tap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/behaviors/behavior_hold_tap.c b/app/src/behaviors/behavior_hold_tap.c index a5c4e90..1871df7 100644 --- a/app/src/behaviors/behavior_hold_tap.c +++ b/app/src/behaviors/behavior_hold_tap.c @@ -413,10 +413,13 @@ static void decide_hold_tap(struct active_hold_tap *hold_tap, switch (hold_tap->config->flavor) { case FLAVOR_HOLD_PREFERRED: decide_hold_preferred(hold_tap, decision_moment); + break; case FLAVOR_BALANCED: decide_balanced(hold_tap, decision_moment); + break; case FLAVOR_TAP_PREFERRED: decide_tap_preferred(hold_tap, decision_moment); + break; } if (hold_tap->status == STATUS_UNDECIDED) { |