()
| 76 | } |
| 77 | |
| 78 | function setControlShift() { |
| 79 | globalStore.set(simpleControlShiftAtom, true); |
| 80 | const disableDisplay = globalStore.get(getSettingsKeyAtom("app:disablectrlshiftdisplay")); |
| 81 | if (!disableDisplay) { |
| 82 | setTimeout(() => { |
| 83 | const simpleState = globalStore.get(simpleControlShiftAtom); |
| 84 | if (simpleState) { |
| 85 | globalStore.set(atoms.controlShiftDelayAtom, true); |
| 86 | } |
| 87 | }, 400); |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | function unsetControlShift() { |
| 92 | globalStore.set(simpleControlShiftAtom, false); |
no test coverage detected