1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 15:33:21 +08:00

Remove redundant BindTarget usage

This commit is contained in:
Dean Herbert 2019-09-13 18:10:52 +09:00
parent 031f0ee1e7
commit 614e68cdf9

View File

@ -49,7 +49,7 @@ namespace osu.Game.Overlays.Rankings
{ {
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre, Origin = Anchor.TopCentre,
Current = { BindTarget = Ruleset } Current = Ruleset
}, },
new Container new Container
{ {
@ -76,14 +76,14 @@ namespace osu.Game.Overlays.Rankings
new RankingsScopeSelector new RankingsScopeSelector
{ {
Margin = new MarginPadding { Top = 10 }, Margin = new MarginPadding { Top = 10 },
Current = { BindTarget = Scope } Current = Scope
}, },
new HeaderTitle new HeaderTitle
{ {
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre, Origin = Anchor.TopCentre,
Scope = { BindTarget = Scope },
Margin = new MarginPadding { Top = 10 }, Margin = new MarginPadding { Top = 10 },
Scope = { BindTarget = Scope },
Country = { BindTarget = Country }, Country = { BindTarget = Country },
}, },
dropdownPlaceholder = new Container dropdownPlaceholder = new Container
@ -97,7 +97,7 @@ namespace osu.Game.Overlays.Rankings
Child = dropdown = new OsuDropdown<Spotlight> Child = dropdown = new OsuDropdown<Spotlight>
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Current = { BindTarget = Spotlight }, Current = Spotlight,
} }
} }
} }