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:
parent
38277bff35
commit
90beff83f6
@ -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,
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user