Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
removed always true expression (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson authored May 18, 2019
1 parent 4097a3f commit 467c6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extensions/CanvasExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public static RectTransform GetChildRectTransformAtPoint(this RectTransform rect

if (recursive)
{
RectTransform childRect = GetChildRectTransformAtPoint(rectTransform, worldPoint, recursive, shouldReturnActive, shouldReturnRaycastable);
RectTransform childRect = GetChildRectTransformAtPoint(rectTransform, worldPoint, true, shouldReturnActive, shouldReturnRaycastable);

if (childRect != null)
{
Expand Down

0 comments on commit 467c6a4

Please sign in to comment.