Use equals instead and update other usage

This commit is contained in:
Joseph Madamba
2023-02-04 19:58:48 -08:00
parent 5a76c1ab9c
commit 191259c050
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ namespace osu.Game.Graphics.UserInterface
{
private Bindable<double?> lastPlaybackTime;
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => Parent?.ReceivePositionalInputAt(screenSpacePos) ?? false;
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => Parent?.ReceivePositionalInputAt(screenSpacePos) == true;
[BackgroundDependencyLoader]
private void load(SessionStatics statics)