mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 05:59:53 +08:00
Merge pull request #33852 from frenzibyte/dropdown-search-bar-placeholder
Fix dropdown search bar not having placeholder text
This commit is contained in:
@@ -18,6 +18,7 @@ using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Input.Bindings;
|
||||
using osu.Game.Overlays;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
|
||||
@@ -440,6 +441,11 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
private partial class DropdownSearchTextBox : OsuTextBox
|
||||
{
|
||||
public DropdownSearchTextBox()
|
||||
{
|
||||
PlaceholderText = HomeStrings.SearchPlaceholder;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OverlayColourProvider? colourProvider)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user