mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Fix tab key not working
This commit is contained in:
parent
b55b6e3746
commit
c38e7d796a
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.UserInterface;
|
using osu.Framework.Graphics.UserInterface;
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
|
|
||||||
@ -32,6 +33,11 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
|||||||
set => Component.Text = value;
|
set => Component.Text = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Container TabbableContentContainer
|
||||||
|
{
|
||||||
|
set => Component.TabbableContentContainer = value;
|
||||||
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
|
@ -76,22 +76,26 @@ namespace osu.Game.Screens.Edit.Setup
|
|||||||
artistTextBox = new LabelledTextBox
|
artistTextBox = new LabelledTextBox
|
||||||
{
|
{
|
||||||
Label = "Artist",
|
Label = "Artist",
|
||||||
Current = { Value = Beatmap.Value.Metadata.Artist }
|
Current = { Value = Beatmap.Value.Metadata.Artist },
|
||||||
|
TabbableContentContainer = this
|
||||||
},
|
},
|
||||||
titleTextBox = new LabelledTextBox
|
titleTextBox = new LabelledTextBox
|
||||||
{
|
{
|
||||||
Label = "Title",
|
Label = "Title",
|
||||||
Current = { Value = Beatmap.Value.Metadata.Title }
|
Current = { Value = Beatmap.Value.Metadata.Title },
|
||||||
|
TabbableContentContainer = this
|
||||||
},
|
},
|
||||||
creatorTextBox = new LabelledTextBox
|
creatorTextBox = new LabelledTextBox
|
||||||
{
|
{
|
||||||
Label = "Creator",
|
Label = "Creator",
|
||||||
Current = { Value = Beatmap.Value.Metadata.AuthorString }
|
Current = { Value = Beatmap.Value.Metadata.AuthorString },
|
||||||
|
TabbableContentContainer = this
|
||||||
},
|
},
|
||||||
difficultyTextBox = new LabelledTextBox
|
difficultyTextBox = new LabelledTextBox
|
||||||
{
|
{
|
||||||
Label = "Difficulty Name",
|
Label = "Difficulty Name",
|
||||||
Current = { Value = Beatmap.Value.BeatmapInfo.Version }
|
Current = { Value = Beatmap.Value.BeatmapInfo.Version },
|
||||||
|
TabbableContentContainer = this
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user