Skip to content

Commit

Permalink
Revert "#479 don't allow Repeat and Hold Down to be turned on at the …
Browse files Browse the repository at this point in the history
…same time"

This reverts commit 51ce413.
  • Loading branch information
sds100 committed Oct 28, 2020
1 parent 51ce413 commit 0c63c68
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,6 @@ class ActionBehavior(action: Action, @Trigger.Mode triggerMode: Int, triggerKeys
stopRepeatingWhenTriggerReleased.isAllowed = value

repeat.value = value

holdDown.isAllowed = !value

if (value) {
setValue(ID_HOLD_DOWN, false)
}
}

ID_SHOW_VOLUME_UI -> showVolumeUi.value = value
Expand All @@ -359,12 +353,6 @@ class ActionBehavior(action: Action, @Trigger.Mode triggerMode: Int, triggerKeys

ID_HOLD_DOWN -> {
holdDown.value = value

repeat.isAllowed = !value

if (value) {
setValue(ID_REPEAT, false)
}
}
}

Expand Down

0 comments on commit 0c63c68

Please sign in to comment.