Refactor WaveformOpacityMenuItem to not receive whole config

This commit is contained in:
Dean Herbert
2021-04-21 18:05:26 +09:00
parent cf55383fff
commit c6c91cd9a5
2 changed files with 4 additions and 5 deletions

View File

@ -226,7 +226,7 @@ namespace osu.Game.Screens.Edit
{
Items = new[]
{
new WaveformOpacityMenu(config)
new WaveformOpacityMenuItem(config.GetBindable<float>(OsuSetting.EditorWaveformOpacity)),
}
}
}