1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 11:42:54 +08:00

Update some out of date code pieces

This commit is contained in:
Dean Herbert 2021-05-26 16:01:20 +09:00
parent 52ca2f4797
commit 88bdd8a7b7
2 changed files with 4 additions and 4 deletions

View File

@ -61,8 +61,8 @@ namespace osu.Game.Configuration
SetDefault(OsuSetting.ShowOnlineExplicitContent, false);
Set(OsuSetting.ChatHighlightName, true);
Set(OsuSetting.ChatMessageNotification, true);
SetDefault(OsuSetting.ChatHighlightName, true);
SetDefault(OsuSetting.ChatMessageNotification, true);
// Audio
SetDefault(OsuSetting.VolumeInactive, 0.25, 0, 1, 0.01);

View File

@ -19,12 +19,12 @@ namespace osu.Game.Overlays.Settings.Sections.Online
new SettingsCheckbox
{
LabelText = "Show a notification popup when someone says your name",
Bindable = config.GetBindable<bool>(OsuSetting.ChatHighlightName)
Current = config.GetBindable<bool>(OsuSetting.ChatHighlightName)
},
new SettingsCheckbox
{
LabelText = "Show private message notifications",
Bindable = config.GetBindable<bool>(OsuSetting.ChatMessageNotification)
Current = config.GetBindable<bool>(OsuSetting.ChatMessageNotification)
},
};
}