mirror of https://github.com/ppy/osu
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 @@ private void modButtonPressed(Mod selectedMod)
|
|||
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 @@ public ModSelectOverlay()
|
|||
{
|
||||
Width = 180,
|
||||
Text = "2. Close",
|
||||
Action = PopOut,
|
||||
Action = Hide,
|
||||
Margin = new MarginPadding
|
||||
{
|
||||
Right = 20
|
||||
|
|
Loading…
Reference in New Issue