mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 09:27:18 +09:00
Fix some events not firing correctly.
This commit is contained in:
parent
a586e5a5ba
commit
f3d461e318
@ -84,7 +84,7 @@ namespace osu.Game.GameModes.Menu
|
||||
Spacing = new Vector2(-wedge_width, 0),
|
||||
Children = new[]
|
||||
{
|
||||
settingsButton = new Button(@"settings", @"options", FontAwesome.gear, new Color4(85, 85, 85, 255), OnSettings, -wedge_width, Key.O),
|
||||
settingsButton = new Button(@"settings", @"options", FontAwesome.gear, new Color4(85, 85, 85, 255), () => OnSettings?.Invoke(), -wedge_width, Key.O),
|
||||
backButton = new Button(@"back", @"back", FontAwesome.fa_osu_left_o, new Color4(51, 58, 94, 255), onBack, -wedge_width, Key.Escape),
|
||||
iconFacade = new Container //need a container to make the osu! icon flow properly.
|
||||
{
|
||||
|
@ -61,14 +61,14 @@ namespace osu.Game.Overlays
|
||||
Icon = FontAwesome.gear,
|
||||
TooltipMain = "Settings",
|
||||
TooltipSub = "Change your settings",
|
||||
Action = OnSettings
|
||||
Action = () => OnSettings?.Invoke()
|
||||
},
|
||||
new ToolbarButton
|
||||
{
|
||||
Icon = FontAwesome.home,
|
||||
TooltipMain = "Home",
|
||||
TooltipSub = "Return to the main menu",
|
||||
Action = OnHome
|
||||
Action = () => OnHome?.Invoke()
|
||||
},
|
||||
modeSelector = new ToolbarModeSelector
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user