mirror of
https://github.com/osukey/osukey.git
synced 2025-08-01 21:58:46 +09:00
Avoid using load to construct the drawable hierarchy whereever possible.
This commit is contained in:
@ -80,8 +80,12 @@ namespace osu.Game
|
||||
Audio.VolumeTrack.Weld(Config.GetBindable<double>(OsuConfig.VolumeMusic));
|
||||
|
||||
PlayMode = Config.GetBindable<PlayMode>(OsuConfig.PlayMode);
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
//todo: move to constructor or LoadComplete.
|
||||
Add(new Drawable[] {
|
||||
new VolumeControlReceptor
|
||||
{
|
||||
|
Reference in New Issue
Block a user