mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 04:32:57 +08:00
Rename touch area class to match existing usage (see taiko)
This commit is contained in:
parent
12e98fe55d
commit
390557634a
@ -59,6 +59,6 @@ namespace osu.Game.Rulesets.Mania.Tests.Mods
|
||||
private Drawable? getSkinnableOverlay() => this.ChildrenOfType<SkinnableDrawable>()
|
||||
.SingleOrDefault(d => d.Lookup.Equals(new ManiaSkinComponentLookup(ManiaSkinComponents.TouchOverlay)));
|
||||
|
||||
private ManiaTouchInputOverlay.InputReceptor getReceptor(int index) => this.ChildrenOfType<ManiaTouchInputOverlay.InputReceptor>().ElementAt(index);
|
||||
private ManiaTouchInputArea.InputReceptor getReceptor(int index) => this.ChildrenOfType<ManiaTouchInputArea.InputReceptor>().ElementAt(index);
|
||||
}
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
|
||||
TimeRange.Value = smoothTimeRange = ComputeScrollTime(configScrollSpeed.Value);
|
||||
|
||||
KeyBindingInputManager.Add(touchOverlay = new ManiaTouchInputOverlay
|
||||
KeyBindingInputManager.Add(touchArea = new ManiaTouchInputArea
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both
|
||||
});
|
||||
@ -122,7 +122,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
private ScheduledDelegate? pendingSkinChange;
|
||||
private float hitPosition;
|
||||
|
||||
private ManiaTouchInputOverlay touchOverlay = null!;
|
||||
private ManiaTouchInputArea touchArea = null!;
|
||||
|
||||
private void onSkinChange()
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Rulesets.Mania.UI
|
||||
{
|
||||
public partial class ManiaTouchInputOverlay : CompositeDrawable, ISerialisableDrawable
|
||||
public partial class ManiaTouchInputArea : CompositeDrawable, ISerialisableDrawable
|
||||
{
|
||||
[SettingSource("Spacing", "The spacing between receptors.")]
|
||||
public BindableFloat Spacing { get; } = new BindableFloat(10)
|
||||
@ -35,7 +35,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
[Resolved]
|
||||
private DrawableManiaRuleset drawableRuleset { get; set; } = null!;
|
||||
|
||||
public ManiaTouchInputOverlay()
|
||||
public ManiaTouchInputArea()
|
||||
{
|
||||
Anchor = Anchor.BottomCentre;
|
||||
Origin = Anchor.BottomCentre;
|
Loading…
Reference in New Issue
Block a user