@sailfish-ai/recorder 1.7.13 → 1.7.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modal.js +2 -1
- package/dist/sailfish-recorder.cjs.js +1 -1
- package/dist/sailfish-recorder.cjs.js.br +0 -0
- package/dist/sailfish-recorder.cjs.js.gz +0 -0
- package/dist/sailfish-recorder.es.js +1 -1
- package/dist/sailfish-recorder.es.js.br +0 -0
- package/dist/sailfish-recorder.es.js.gz +0 -0
- package/dist/sailfish-recorder.umd.js +1 -1
- package/dist/sailfish-recorder.umd.js.br +0 -0
- package/dist/sailfish-recorder.umd.js.gz +0 -0
- package/package.json +1 -1
package/dist/modal.js
CHANGED
|
@@ -24,7 +24,7 @@ export function setupIssueReporting(options) {
|
|
|
24
24
|
const key = e.key.toLowerCase();
|
|
25
25
|
const isCmdOrCtrl = e.metaKey || e.ctrlKey;
|
|
26
26
|
// Shortcuts for modal open
|
|
27
|
-
if (!typingInInput && options.enableShortcuts) {
|
|
27
|
+
if (!typingInInput && options.enableShortcuts && !isCmdOrCtrl) {
|
|
28
28
|
if (key === "o") {
|
|
29
29
|
e.preventDefault();
|
|
30
30
|
injectModalHTML("lookback");
|
|
@@ -55,6 +55,7 @@ export function setupIssueReporting(options) {
|
|
|
55
55
|
}
|
|
56
56
|
// "r" to start recording (only in capture-new mode)
|
|
57
57
|
if (!typingInInput &&
|
|
58
|
+
!isCmdOrCtrl &&
|
|
58
59
|
key === "r" &&
|
|
59
60
|
modalOpen &&
|
|
60
61
|
currentState.mode === "startnow") {
|