fix settings modal keybind

This commit is contained in:
HF 2020-04-30 19:02:24 +02:00
parent d92bd4f2d4
commit 19fb12df6a
2 changed files with 5 additions and 2 deletions

View File

@ -121,12 +121,13 @@ function SettingsModal({
<SettingsItem
title="Show Pixel Activity"
description="Show circles where pixels are placed."
keyBind="C"
keyBind="X"
value={isPixelNotifyShown}
onToggle={onTogglePixelNotify}
/>
<SettingsItem
title="Disable Game Sounds"
// eslint-disable-next-line max-len
description="All sound effects except Chat Notification will be disabled."
keyBind="M"
value={isMuted}
@ -140,12 +141,14 @@ function SettingsModal({
/>
<SettingsItem
title="Auto Zoom In"
// eslint-disable-next-line max-len
description="Zoom in instead of placing a pixel when you tap the canvas and your zoom is small."
value={autoZoomIn}
onToggle={onToggleAutoZoomIn}
/>
<SettingsItem
title="Compact Palette"
// eslint-disable-next-line max-len
description="Display Palette in a compact form that takes less screen space."
value={compactPalette}
onToggle={onToggleCompactPalette}

View File

@ -131,7 +131,7 @@ export default function user(
channelMessages = channelMessages.slice(-50);
}
channelMessages = channelMessages.concat([
[name, text, country]
[name, text, country],
]);
chatMessages[channel] = channelMessages;
return {