mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 20:12:56 +08:00
Rename container to make more sense
This commit is contained in:
parent
4d9d5adbf4
commit
32b34c1967
@ -56,7 +56,7 @@ namespace osu.Game.Screens.Edit.Setup
|
|||||||
|
|
||||||
public readonly Bindable<bool?> ApplyToAllDifficulties = new Bindable<bool?>();
|
public readonly Bindable<bool?> ApplyToAllDifficulties = new Bindable<bool?>();
|
||||||
|
|
||||||
private Container changeScopeContainer = null!;
|
private Container selectApplicationScopeContainer = null!;
|
||||||
|
|
||||||
public BeatmapFileChooserPopover(string[] handledExtensions, Bindable<FileInfo?> current, string? chooserPath, bool beatmapHasMultipleDifficulties)
|
public BeatmapFileChooserPopover(string[] handledExtensions, Bindable<FileInfo?> current, string? chooserPath, bool beatmapHasMultipleDifficulties)
|
||||||
: base(handledExtensions, current, chooserPath)
|
: base(handledExtensions, current, chooserPath)
|
||||||
@ -67,7 +67,7 @@ namespace osu.Game.Screens.Edit.Setup
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OverlayColourProvider colourProvider, OsuColour colours)
|
private void load(OverlayColourProvider colourProvider, OsuColour colours)
|
||||||
{
|
{
|
||||||
Add(changeScopeContainer = new InputBlockingContainer
|
Add(selectApplicationScopeContainer = new InputBlockingContainer
|
||||||
{
|
{
|
||||||
Alpha = 0f,
|
Alpha = 0f,
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
@ -143,7 +143,7 @@ namespace osu.Game.Screens.Edit.Setup
|
|||||||
protected override void OnFileSelected(FileInfo file)
|
protected override void OnFileSelected(FileInfo file)
|
||||||
{
|
{
|
||||||
if (beatmapHasMultipleDifficulties)
|
if (beatmapHasMultipleDifficulties)
|
||||||
changeScopeContainer.FadeIn(200, Easing.InQuint);
|
selectApplicationScopeContainer.FadeIn(200, Easing.InQuint);
|
||||||
else
|
else
|
||||||
base.OnFileSelected(file);
|
base.OnFileSelected(file);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user