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