1
0
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:
Dean Herbert 2024-11-28 15:20:51 +09:00
parent 4d9d5adbf4
commit 32b34c1967
No known key found for this signature in database

View File

@ -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);
} }