mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-15 10:28:43 +01:00
[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
Block a user