mirror of
https://github.com/mue/mue.git
synced 2026-07-20 07:24:08 +02:00
feat: keybinds (WIP)
This commit is contained in:
@@ -37,6 +37,12 @@ if (localStorage.getItem('stats') === 'true') {
|
||||
};
|
||||
}
|
||||
|
||||
if (localStorage.getItem('keybindsEnabled') === 'true') {
|
||||
window.keybinds = JSON.parse(localStorage.getItem('keybinds') || '{}');
|
||||
} else {
|
||||
window.keybinds = {};
|
||||
}
|
||||
|
||||
render(
|
||||
<App/>,
|
||||
document.getElementById('root')
|
||||
|
||||
Reference in New Issue
Block a user