fix(easter_egg): make it easier to activate

This commit is contained in:
Saahil dutta 2024-08-02 10:46:37 -04:00
parent 29897c4900
commit 343fc0a1ea

View file

@ -14,10 +14,10 @@ return {
export function listenForEasterEgg() { export function listenForEasterEgg() {
const oneko2 = startEasterEgg() const oneko2 = startEasterEgg()
window.addEventListener('keydown', (k) => { window.addEventListener('keydown', (k) => {
if((k.ctrlKey || k.metaKey) && k.shiftKey && k.altKey) oneko2.toggle() if(k.shiftKey && k.altKey) oneko2.toggle()
}) })
window.addEventListener('keyup', (k) => { window.addEventListener('keyup', (k) => {
if((k.ctrlKey || k.metaKey) && k.shiftKey && k.altKey) oneko2.toggle() if (k.shiftKey && k.altKey) oneko2.toggle()
}) })
} }
// expose to window // expose to window