Fix number overlay hotkeys conflict with screenshot in macos (#222)

This commit is contained in:
Red J Adaya
2024-08-14 14:38:02 -07:00
committed by GitHub
parent 961502916b
commit 688ed8a870
4 changed files with 35 additions and 16 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ function initGlobalAtoms(initOpts: GlobalInitOptions) {
}
return windowData.activetabid;
});
const cmdShiftDelayAtom = jotai.atom(false);
const controlShiftDelayAtom = jotai.atom(false);
const updateStatusAtom = jotai.atom<UpdaterStatus>("up-to-date") as jotai.PrimitiveAtom<UpdaterStatus>;
try {
globalStore.set(updateStatusAtom, getApi().getUpdaterStatus());
@@ -126,7 +126,7 @@ function initGlobalAtoms(initOpts: GlobalInitOptions) {
tabAtom: tabAtom,
activeTabId: activeTabIdAtom,
isFullScreen: isFullScreenAtom,
cmdShiftDelayAtom: cmdShiftDelayAtom,
controlShiftDelayAtom: controlShiftDelayAtom,
updaterStatusAtom: updateStatusAtom,
};
}