add pause with "p" keyboard
This commit is contained in:
@@ -77,12 +77,16 @@ const notUsingInput = computed(
|
||||
() => !INPUT_MATTERS.includes(activeElement.value?.tagName ?? '')
|
||||
)
|
||||
|
||||
const { n, s } = useMagicKeys()
|
||||
const { n, p, s } = useMagicKeys()
|
||||
|
||||
whenever(logicAnd(notUsingInput, n), () => {
|
||||
nextStep()
|
||||
})
|
||||
|
||||
whenever(logicAnd(notUsingInput, p), () => {
|
||||
recordStore.pause(props.tasKId)
|
||||
})
|
||||
|
||||
whenever(logicAnd(notUsingInput, s), () => {
|
||||
startRecording()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user