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