dキーを押した際の挙動も変更

This commit is contained in:
kakkokari-gtyih 2024-06-22 16:00:25 +09:00
parent e96c94ef2e
commit 3f20639fba
1 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@ export async function mainBoot() {
const hotkeys = {
'd': (): void => {
ColdDeviceStorage.set('syncDeviceDarkMode', false);
defaultStore.set('darkMode', !defaultStore.state.darkMode);
},
's': (): void => {
@ -96,7 +97,7 @@ export async function mainBoot() {
}).render();
}
}
}
}
} catch (error) {
// console.error(error);
console.error('Failed to initialise the seasonal screen effect canvas context:', error);