1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Rename "FixedSearchTextBox" to "SeekLimitedSearchTextBox"

This commit is contained in:
Joehu 2019-10-21 16:00:09 -07:00
parent e5b50b5e1f
commit f7924d3bad
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
namespace osu.Game.Graphics.UserInterface
{
public class FixedSearchTextBox : SearchTextBox
public class SeekLimitedSearchTextBox : SearchTextBox
{
public override bool HandleLeftRightArrows => false;
}

View File

@ -37,7 +37,7 @@ namespace osu.Game.Overlays
protected SettingsSectionsContainer SectionsContainer;
private FixedSearchTextBox searchTextBox;
private SeekLimitedSearchTextBox searchTextBox;
/// <summary>
/// Provide a source for the toolbar height.
@ -80,7 +80,7 @@ namespace osu.Game.Overlays
Masking = true,
RelativeSizeAxes = Axes.Both,
ExpandableHeader = CreateHeader(),
FixedHeader = searchTextBox = new FixedSearchTextBox
FixedHeader = searchTextBox = new SeekLimitedSearchTextBox
{
RelativeSizeAxes = Axes.X,
Origin = Anchor.TopCentre,

View File

@ -49,7 +49,7 @@ namespace osu.Game.Screens.Select
return criteria;
}
private readonly FixedSearchTextBox searchTextBox;
private readonly SeekLimitedSearchTextBox searchTextBox;
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) =>
base.ReceivePositionalInputAt(screenSpacePos) || groupTabs.ReceivePositionalInputAt(screenSpacePos) || sortTabs.ReceivePositionalInputAt(screenSpacePos);
@ -73,7 +73,7 @@ namespace osu.Game.Screens.Select
Origin = Anchor.TopRight,
Children = new Drawable[]
{
searchTextBox = new FixedSearchTextBox { RelativeSizeAxes = Axes.X },
searchTextBox = new SeekLimitedSearchTextBox { RelativeSizeAxes = Axes.X },
new Box
{
RelativeSizeAxes = Axes.X,