change easter egg keybing from p to z
This commit is contained in:
parent
48d9af24fd
commit
313101d4be
|
@ -20,7 +20,7 @@ import {
|
||||||
import { HOLD_PAINT } from '../core/constants';
|
import { HOLD_PAINT } from '../core/constants';
|
||||||
import { notify } from '../store/actions/thunks';
|
import { notify } from '../store/actions/thunks';
|
||||||
|
|
||||||
const charKeys = ['g', 'h', 'x', 'm', 'r', 'p', '+', '-'];
|
const charKeys = ['g', 'h', 'x', 'm', 'r', 'z', '+', '-'];
|
||||||
|
|
||||||
export function createKeyUpHandler(store) {
|
export function createKeyUpHandler(store) {
|
||||||
return (event) => {
|
return (event) => {
|
||||||
|
@ -204,7 +204,7 @@ export function createKeyDownHandler(store) {
|
||||||
store.dispatch(notify(t`Copied!`));
|
store.dispatch(notify(t`Copied!`));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case 'p':
|
case 'z':
|
||||||
store.dispatch(toggleEasterEgg());
|
store.dispatch(toggleEasterEgg());
|
||||||
store.dispatch(notify((store.getState().gui.easterEgg)
|
store.dispatch(notify((store.getState().gui.easterEgg)
|
||||||
? t`Easter Egg ON`
|
? t`Easter Egg ON`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user