mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 15:43:18 +08:00
Updated KeyBindingRow sprite text, adjusted KeyBindingOverlay width
This commit is contained in:
parent
38277bff35
commit
90beff83f6
@ -97,7 +97,7 @@ namespace osu.Game.Overlays.KeyBinding
|
||||
},
|
||||
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,
|
||||
|
@ -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 @@ namespace osu.Game.Overlays
|
||||
|
||||
foreach (var ruleset in rulesets.AvailableRulesets)
|
||||
AddSection(new RulesetBindingsSection(ruleset));
|
||||
|
||||
ContentContainer.Width = WIDTH;
|
||||
}
|
||||
|
||||
public KeyBindingOverlay()
|
||||
|
Loading…
Reference in New Issue
Block a user