Updated KeyBindingRow sprite text, adjusted KeyBindingOverlay width

This commit is contained in:
aQaTL 2018-04-11 08:07:26 +02:00
parent 38277bff35
commit 90beff83f6
No known key found for this signature in database
GPG Key ID: 181719411A8555F0
2 changed files with 5 additions and 1 deletions

View File

@ -97,7 +97,7 @@ private void load(OsuColour colours, KeyBindingStore store)
},
pressAKey = new OsuSpriteText
{
Text = "Press a key to change binding, DEL to delete, ESC to cancel.",
Text = "Press a key to change binding, SHIFT+DEL to delete, ESC to cancel.",
Y = height,
Margin = new MarginPadding(padding),
Alpha = 0,

View File

@ -12,6 +12,8 @@ namespace osu.Game.Overlays
{
public class KeyBindingOverlay : SettingsOverlay
{
protected const float WIDTH = 430;
protected override Drawable CreateHeader() => new SettingsHeader("key configuration", "Customise your keys!");
[BackgroundDependencyLoader(permitNulls: true)]
@ -21,6 +23,8 @@ private void load(RulesetStore rulesets, GlobalActionContainer global)
foreach (var ruleset in rulesets.AvailableRulesets)
AddSection(new RulesetBindingsSection(ruleset));
ContentContainer.Width = WIDTH;
}
public KeyBindingOverlay()