mirror of
https://github.com/ppy/osu
synced 2025-01-11 08:39:31 +00:00
Add inline comment
This commit is contained in:
parent
2b7eeadac0
commit
8ccf2ee075
@ -192,6 +192,8 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
State.BindValueChanged(_ => samplePlaybackDisabled.Value = State.Value == Visibility.Hidden, true);
|
||||
|
||||
// This is an optimisation to prevent refreshing the available settings controls when it can be
|
||||
// reasonably assumed that the settings panel is never to be displayed (e.g. FreeModSelectScreen).
|
||||
if (customisationButton != null)
|
||||
((IBindable<IReadOnlyList<Mod>>)modSettingsArea.SelectedMods).BindTo(SelectedMods);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user