mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Rename RulesetContainer to DrawableRuleset
This commit is contained in:
@ -15,7 +15,7 @@ namespace osu.Game.Screens.Multi.Components
|
||||
private const float height = 30;
|
||||
private const float transition_duration = 100;
|
||||
|
||||
private Container rulesetContainer;
|
||||
private Container drawableRuleset;
|
||||
|
||||
public ModeTypeInfo()
|
||||
{
|
||||
@ -35,7 +35,7 @@ namespace osu.Game.Screens.Multi.Components
|
||||
LayoutDuration = 100,
|
||||
Children = new[]
|
||||
{
|
||||
rulesetContainer = new Container
|
||||
drawableRuleset = new Container
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
},
|
||||
@ -55,11 +55,11 @@ namespace osu.Game.Screens.Multi.Components
|
||||
{
|
||||
if (item?.Beatmap != null)
|
||||
{
|
||||
rulesetContainer.FadeIn(transition_duration);
|
||||
rulesetContainer.Child = new DifficultyIcon(item.Beatmap, item.Ruleset) { Size = new Vector2(height) };
|
||||
drawableRuleset.FadeIn(transition_duration);
|
||||
drawableRuleset.Child = new DifficultyIcon(item.Beatmap, item.Ruleset) { Size = new Vector2(height) };
|
||||
}
|
||||
else
|
||||
rulesetContainer.FadeOut(transition_duration);
|
||||
drawableRuleset.FadeOut(transition_duration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user