Merge pull request #9212 from smoogipoo/fix-scorepanel-input

Fix score panel not receiving input in some places
This commit is contained in:
Dean Herbert 2020-06-05 00:26:02 +09:00 committed by GitHub
commit 5d1770dec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -243,5 +243,10 @@ protected override bool OnClick(ClickEvent e)
return true;
}
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos)
=> base.ReceivePositionalInputAt(screenSpacePos)
|| topLayerContainer.ReceivePositionalInputAt(screenSpacePos)
|| middleLayerContainer.ReceivePositionalInputAt(screenSpacePos);
}
}