File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
base/src/main/java/io/github/sds100/keymapper/base/keymaps Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ data class KeyMap(
4949 KeyMapAlgorithm .performActionOnDown(trigger) && action.data.canBeHeldDown()
5050
5151 fun isHoldingDownActionBeforeRepeatingAllowed (action : Action ): Boolean =
52- action.repeat && action.holdDown
52+ action.repeat && action.holdDown && isHoldingDownActionAllowed(action)
5353
5454 fun isChangingRepeatModeAllowed (action : Action ): Boolean =
5555 action.repeat && isRepeatingActionsAllowed()
@@ -58,7 +58,7 @@ data class KeyMap(
5858 action.repeat && isRepeatingActionsAllowed()
5959
6060 fun isStopHoldingDownActionWhenTriggerPressedAgainAllowed (action : Action ): Boolean =
61- action.holdDown && ! action.repeat
61+ action.holdDown && ! action.repeat && isHoldingDownActionAllowed(action)
6262
6363 fun isDelayBeforeNextActionAllowed (): Boolean = actionList.isNotEmpty()
6464}
You can’t perform that action at this time.
0 commit comments