[feature] adding keybaord shortcut for random theme

This commit is contained in:
Kuldeep M 2019-01-15 09:52:25 +00:00
parent 1d0c0b8577
commit 3660a58980
1 changed files with 6 additions and 0 deletions

View File

@ -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);
};