[feature] adding keybaord shortcut for random theme
This commit is contained in:
parent
1d0c0b8577
commit
3660a58980
|
@ -48,6 +48,12 @@ var keyboard = (function() {
|
|||
control.render();
|
||||
data.save();
|
||||
};
|
||||
// ctrl+alt+r
|
||||
if (event.ctrlKey && event.altKey && event.keyCode == 82) {
|
||||
theme.random();
|
||||
theme.render();
|
||||
data.save();
|
||||
};
|
||||
}, false);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue