mirror of
https://github.com/ppy/osu
synced 2024-12-15 11:25:29 +00:00
fixed naming
This commit is contained in:
parent
7aec5ca1e8
commit
9101ad0cbd
@ -1161,11 +1161,11 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
public new BeatmapCarousel Carousel => base.Carousel;
|
||||
public new ModSelectOverlay ModSelect => base.ModSelect;
|
||||
|
||||
public BeatmapOptionsButton DeleteOptionButton => base.deleteOptionButton;
|
||||
public new BeatmapOptionsButton DeleteOptionButton => base.DeleteOptionButton;
|
||||
|
||||
public BeatmapOptionsButton ClearOptionButton => base.clearOptionButton;
|
||||
public new BeatmapOptionsButton ClearOptionButton => base.ClearOptionButton;
|
||||
|
||||
public BeatmapOptionsButton? EditOptionButton => base.editOptionButton;
|
||||
public new BeatmapOptionsButton? EditOptionButton => base.EditOptionButton;
|
||||
|
||||
public new void PresentScore(ScoreInfo score) => base.PresentScore(score);
|
||||
|
||||
|
@ -34,12 +34,12 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
private PlayBeatmapDetailArea playBeatmapDetailArea = null!;
|
||||
|
||||
protected BeatmapOptionsButton? editOptionButton;
|
||||
protected BeatmapOptionsButton? EditOptionButton;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
editOptionButton = BeatmapOptions.AddButton(@"Edit", @"beatmap", FontAwesome.Solid.PencilAlt, colours.Yellow, () => Edit());
|
||||
EditOptionButton = BeatmapOptions.AddButton(@"Edit", @"beatmap", FontAwesome.Solid.PencilAlt, colours.Yellow, () => Edit());
|
||||
}
|
||||
|
||||
protected void PresentScore(ScoreInfo score) =>
|
||||
@ -150,7 +150,7 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
base.OnBeatmapOptionsButtonDisabledChanged(disabled);
|
||||
|
||||
if (editOptionButton != null) editOptionButton.Disabled = disabled;
|
||||
if (EditOptionButton != null) EditOptionButton.Disabled = disabled;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -116,9 +116,9 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
private double audioFeedbackLastPlaybackTime;
|
||||
|
||||
protected BeatmapOptionsButton deleteOptionButton;
|
||||
protected BeatmapOptionsButton DeleteOptionButton;
|
||||
|
||||
protected BeatmapOptionsButton clearOptionButton;
|
||||
protected BeatmapOptionsButton ClearOptionButton;
|
||||
|
||||
[CanBeNull]
|
||||
private IDisposable modSelectOverlayRegistration;
|
||||
@ -290,8 +290,8 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
BeatmapOptions.AddButton(@"Manage", @"collections", FontAwesome.Solid.Book, colours.Green, () => manageCollectionsDialog?.Show());
|
||||
BeatmapOptions.AddButton(@"Remove", @"from unplayed", FontAwesome.Regular.TimesCircle, colours.Purple, null);
|
||||
deleteOptionButton = BeatmapOptions.AddButton(@"Delete", @"all difficulties", FontAwesome.Solid.Trash, colours.Pink, () => delete(Beatmap.Value.BeatmapSetInfo));
|
||||
clearOptionButton = BeatmapOptions.AddButton(@"Clear", @"local scores", FontAwesome.Solid.Eraser, colours.Purple, () => clearScores(Beatmap.Value.BeatmapInfo));
|
||||
DeleteOptionButton = BeatmapOptions.AddButton(@"Delete", @"all difficulties", FontAwesome.Solid.Trash, colours.Pink, () => delete(Beatmap.Value.BeatmapSetInfo));
|
||||
ClearOptionButton = BeatmapOptions.AddButton(@"Clear", @"local scores", FontAwesome.Solid.Eraser, colours.Purple, () => clearScores(Beatmap.Value.BeatmapInfo));
|
||||
}
|
||||
|
||||
sampleChangeDifficulty = audio.Samples.Get(@"SongSelect/select-difficulty");
|
||||
@ -659,8 +659,8 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
protected virtual void OnBeatmapOptionsButtonDisabledChanged(bool disabled)
|
||||
{
|
||||
deleteOptionButton.Disabled = disabled;
|
||||
clearOptionButton.Disabled = disabled;
|
||||
DeleteOptionButton.Disabled = disabled;
|
||||
ClearOptionButton.Disabled = disabled;
|
||||
}
|
||||
|
||||
private void playExitingTransition()
|
||||
|
Loading…
Reference in New Issue
Block a user