mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Merge branch 'refs/heads/master' into dependency-injection
# Conflicts: # osu-framework # osu.Game/GameModes/OsuGameMode.cs # osu.Game/GameModes/Play/Player.cs # osu.Game/OsuGame.cs # osu.Game/Overlays/MusicController.cs # osu.Game/Overlays/Options/EditorSection.cs # osu.Game/Overlays/Options/Input/MouseOptions.cs # osu.Game/Overlays/Options/Online/InGameChatOptions.cs # osu.Game/Overlays/Options/SkinSection.cs
This commit is contained in:
@ -61,8 +61,8 @@ namespace osu.Game.Graphics.UserInterface
|
||||
Name = name;
|
||||
}
|
||||
|
||||
[Initializer]
|
||||
private void Load(TextureStore textures)
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(TextureStore textures)
|
||||
{
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
@ -120,8 +120,8 @@ namespace osu.Game.Graphics.UserInterface
|
||||
AutoSizeAxes = Axes.Both;
|
||||
}
|
||||
|
||||
[Initializer]
|
||||
private void Load()
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
DisplayedCount = Count;
|
||||
|
||||
|
@ -110,8 +110,8 @@ namespace osu.Game.Graphics.UserInterface
|
||||
};
|
||||
}
|
||||
|
||||
[Initializer]
|
||||
private void Load()
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
starContainer.Width = MaxStars * StarSize + Math.Max(MaxStars - 1, 0) * StarSpacing;
|
||||
starContainer.Height = StarSize;
|
||||
|
@ -33,8 +33,8 @@ namespace osu.Game.Graphics.UserInterface.Volume
|
||||
Origin = Anchor.BottomRight;
|
||||
}
|
||||
|
||||
[Initializer]
|
||||
private void Load()
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
VolumeGlobal.ValueChanged += volumeChanged;
|
||||
VolumeSample.ValueChanged += volumeChanged;
|
||||
|
Reference in New Issue
Block a user