Rename function to be more accurate

This commit is contained in:
Jamie Taylor
2021-07-09 11:16:47 +09:00
parent 546f55d341
commit 2eb12a59b7
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ namespace osu.Game.Graphics.Containers
protected override Container<Drawable> Content => content; protected override Container<Drawable> Content => content;
protected virtual HoverSounds CreateHoverClickSounds(HoverSampleSet sampleSet) => new HoverClickSounds(sampleSet); protected virtual HoverSounds CreateHoverSounds(HoverSampleSet sampleSet) => new HoverClickSounds(sampleSet);
public OsuClickableContainer(HoverSampleSet sampleSet = HoverSampleSet.Default) public OsuClickableContainer(HoverSampleSet sampleSet = HoverSampleSet.Default)
{ {
@ -39,7 +39,7 @@ namespace osu.Game.Graphics.Containers
InternalChildren = new Drawable[] InternalChildren = new Drawable[]
{ {
content, content,
CreateHoverClickSounds(sampleSet) CreateHoverSounds(sampleSet)
}; };
} }
} }

View File

@ -28,7 +28,7 @@ namespace osu.Game.Online.Chat
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => Parts.Any(d => d.ReceivePositionalInputAt(screenSpacePos)); public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => Parts.Any(d => d.ReceivePositionalInputAt(screenSpacePos));
protected override HoverSounds CreateHoverClickSounds(HoverSampleSet sampleSet) => new LinkHoverSounds(sampleSet, Parts); protected override HoverSounds CreateHoverSounds(HoverSampleSet sampleSet) => new LinkHoverSounds(sampleSet, Parts);
public DrawableLinkCompiler(IEnumerable<Drawable> parts) public DrawableLinkCompiler(IEnumerable<Drawable> parts)
{ {

View File

@ -24,7 +24,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
private Sample sampleOpen; private Sample sampleOpen;
private Sample sampleClose; private Sample sampleClose;
protected override HoverSounds CreateHoverClickSounds(HoverSampleSet sampleSet) => new HoverSounds(); protected override HoverSounds CreateHoverSounds(HoverSampleSet sampleSet) => new HoverSounds();
public ExpandDetailsButton() public ExpandDetailsButton()
{ {