forked from ppfun/pixelplanet
fix settings modal keybind
This commit is contained in:
parent
d92bd4f2d4
commit
19fb12df6a
|
@ -121,12 +121,13 @@ function SettingsModal({
|
||||||
<SettingsItem
|
<SettingsItem
|
||||||
title="Show Pixel Activity"
|
title="Show Pixel Activity"
|
||||||
description="Show circles where pixels are placed."
|
description="Show circles where pixels are placed."
|
||||||
keyBind="C"
|
keyBind="X"
|
||||||
value={isPixelNotifyShown}
|
value={isPixelNotifyShown}
|
||||||
onToggle={onTogglePixelNotify}
|
onToggle={onTogglePixelNotify}
|
||||||
/>
|
/>
|
||||||
<SettingsItem
|
<SettingsItem
|
||||||
title="Disable Game Sounds"
|
title="Disable Game Sounds"
|
||||||
|
// eslint-disable-next-line max-len
|
||||||
description="All sound effects except Chat Notification will be disabled."
|
description="All sound effects except Chat Notification will be disabled."
|
||||||
keyBind="M"
|
keyBind="M"
|
||||||
value={isMuted}
|
value={isMuted}
|
||||||
|
@ -140,12 +141,14 @@ function SettingsModal({
|
||||||
/>
|
/>
|
||||||
<SettingsItem
|
<SettingsItem
|
||||||
title="Auto Zoom In"
|
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."
|
description="Zoom in instead of placing a pixel when you tap the canvas and your zoom is small."
|
||||||
value={autoZoomIn}
|
value={autoZoomIn}
|
||||||
onToggle={onToggleAutoZoomIn}
|
onToggle={onToggleAutoZoomIn}
|
||||||
/>
|
/>
|
||||||
<SettingsItem
|
<SettingsItem
|
||||||
title="Compact Palette"
|
title="Compact Palette"
|
||||||
|
// eslint-disable-next-line max-len
|
||||||
description="Display Palette in a compact form that takes less screen space."
|
description="Display Palette in a compact form that takes less screen space."
|
||||||
value={compactPalette}
|
value={compactPalette}
|
||||||
onToggle={onToggleCompactPalette}
|
onToggle={onToggleCompactPalette}
|
||||||
|
|
|
@ -131,7 +131,7 @@ export default function user(
|
||||||
channelMessages = channelMessages.slice(-50);
|
channelMessages = channelMessages.slice(-50);
|
||||||
}
|
}
|
||||||
channelMessages = channelMessages.concat([
|
channelMessages = channelMessages.concat([
|
||||||
[name, text, country]
|
[name, text, country],
|
||||||
]);
|
]);
|
||||||
chatMessages[channel] = channelMessages;
|
chatMessages[channel] = channelMessages;
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user