mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:32:55 +08:00
Make back button glow when pressing escape
This commit is contained in:
parent
5f700f2ae9
commit
ff6367fa4b
@ -18,7 +18,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
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
Block a user