mirror of https://github.com/ppy/osu
Apply suggestions
This commit is contained in:
parent
0292cea2c4
commit
6715b25ddd
|
@ -118,14 +118,14 @@ protected override void LoadComplete()
|
||||||
|
|
||||||
protected override bool OnClick(ClickEvent e)
|
protected override bool OnClick(ClickEvent e)
|
||||||
{
|
{
|
||||||
Selected.Value = !Selected.Value;
|
Selected.Toggle();
|
||||||
return base.OnClick(e);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool OnHover(HoverEvent e)
|
protected override bool OnHover(HoverEvent e)
|
||||||
{
|
{
|
||||||
updateState();
|
updateState();
|
||||||
return base.OnHover(e);
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnHoverLost(HoverLostEvent e)
|
protected override void OnHoverLost(HoverLostEvent e)
|
||||||
|
|
Loading…
Reference in New Issue