mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 14:12:55 +08:00
Change close action from PopOut to Hide and switched to TriangleButton.Click()
This commit is contained in:
parent
194bb80354
commit
c04c6693c2
@ -198,9 +198,9 @@ namespace osu.Game.Overlays.Mods
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
if (e.Key == Key.Number1)
|
||||
DeselectAll();
|
||||
DeselectAllButton.Click();
|
||||
else if (e.Key == Key.Number2)
|
||||
PopOut();
|
||||
CloseButton.Click();
|
||||
|
||||
return base.OnKeyDown(e);
|
||||
}
|
||||
@ -381,7 +381,7 @@ namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
Width = 180,
|
||||
Text = "2. Close",
|
||||
Action = PopOut,
|
||||
Action = Hide,
|
||||
Margin = new MarginPadding
|
||||
{
|
||||
Right = 20
|
||||
|
Loading…
Reference in New Issue
Block a user