Remove redundant ternary expression

This commit is contained in:
Joehu 2019-12-01 12:54:37 -08:00
parent 3b88afd069
commit 74176a6954
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ protected override void LoadComplete()
protected override bool OnMouseDown(MouseDownEvent e)
{
closeOnMouseUp = !base.ReceivePositionalInputAt(e.ScreenSpaceMousePosition) ? true : false;
closeOnMouseUp = !base.ReceivePositionalInputAt(e.ScreenSpaceMousePosition);
return base.OnMouseDown(e);
}