commit
8c61ee30d7
1 changed files with 7 additions and 2 deletions
|
@ -41,6 +41,11 @@ function addKeyListeners() {
|
||||||
on_keydown: function(){pause();}
|
on_keydown: function(){pause();}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
keypress.register_combo({
|
||||||
|
keys: "space",
|
||||||
|
on_keydown: function(){pause();}
|
||||||
|
});
|
||||||
|
|
||||||
keypress.register_combo({
|
keypress.register_combo({
|
||||||
keys: "q",
|
keys: "q",
|
||||||
on_keydown: function() {
|
on_keydown: function() {
|
||||||
|
@ -72,10 +77,10 @@ function addKeyListeners() {
|
||||||
pause();
|
pause();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#colorBlindBtn").on('touchstart mousedown', function() {
|
$("#colorBlindBtn").on('touchstart mousedown', function() {
|
||||||
window.colors = ["#8e44ad", "#f1c40f", "#3498db", "#d35400"];
|
window.colors = ["#8e44ad", "#f1c40f", "#3498db", "#d35400"];
|
||||||
|
|
||||||
window.hexColorsToTintedColors = {
|
window.hexColorsToTintedColors = {
|
||||||
"#8e44ad": "rgb(229,152,102)",
|
"#8e44ad": "rgb(229,152,102)",
|
||||||
"#f1c40f": "rgb(246,223,133)",
|
"#f1c40f": "rgb(246,223,133)",
|
||||||
|
|
Loading…
Reference in a new issue