mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:02:55 +08:00
Remove redundant ternary expression
This commit is contained in:
parent
3b88afd069
commit
74176a6954
@ -71,7 +71,7 @@ namespace osu.Game.Graphics.Containers
|
|||||||
|
|
||||||
protected override bool OnMouseDown(MouseDownEvent e)
|
protected override bool OnMouseDown(MouseDownEvent e)
|
||||||
{
|
{
|
||||||
closeOnMouseUp = !base.ReceivePositionalInputAt(e.ScreenSpaceMousePosition) ? true : false;
|
closeOnMouseUp = !base.ReceivePositionalInputAt(e.ScreenSpaceMousePosition);
|
||||||
|
|
||||||
return base.OnMouseDown(e);
|
return base.OnMouseDown(e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user