1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 00:52:56 +08:00

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 @@ namespace osu.Game.Overlays.KeyBinding
}, },
pressAKey = new OsuSpriteText 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, Y = height,
Margin = new MarginPadding(padding), Margin = new MarginPadding(padding),
Alpha = 0, Alpha = 0,

View File

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