mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Update with framework bindable changes
This commit is contained in:
@ -176,7 +176,7 @@ namespace osu.Game.Screens.Play
|
||||
}
|
||||
};
|
||||
|
||||
button.Selected.ValueChanged += s => buttonSelectionChanged(button, s);
|
||||
button.Selected.ValueChanged += e => buttonSelectionChanged(button, e.NewValue);
|
||||
|
||||
InternalButtons.Add(button);
|
||||
}
|
||||
@ -292,7 +292,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
if (e.Repeat || e.Key != Key.Enter || !Selected)
|
||||
if (e.Repeat || e.Key != Key.Enter || !Selected.Value)
|
||||
return false;
|
||||
|
||||
Click();
|
||||
|
Reference in New Issue
Block a user