mirror of https://github.com/ppy/osu
Make back button glow when pressing escape
This commit is contained in:
parent
5f700f2ae9
commit
ff6367fa4b
|
@ -18,7 +18,7 @@ public class BackButton : VisibilityContainer
|
||||||
|
|
||||||
public BackButton(Receptor receptor)
|
public BackButton(Receptor receptor)
|
||||||
{
|
{
|
||||||
receptor.OnBackPressed = () => Action?.Invoke();
|
receptor.OnBackPressed = () => button.Click();
|
||||||
|
|
||||||
Size = TwoLayerButton.SIZE_EXTENDED;
|
Size = TwoLayerButton.SIZE_EXTENDED;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue