Use in over ref modifier in Math functions input parameters
This commit is contained in:
@@ -258,7 +258,7 @@ namespace FlaxEditor.GUI.Tree
|
||||
}
|
||||
|
||||
var nodeArea = new Rectangle(pos, child.Size);
|
||||
if (child.IsExpanded && range.Intersects(ref nodeArea))
|
||||
if (child.IsExpanded && range.Intersects(nodeArea))
|
||||
WalkSelectRangeExpandedTree(selection, child, ref range);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -555,7 +555,7 @@ namespace FlaxEditor.GUI.Tree
|
||||
/// <returns>True if hits it.</returns>
|
||||
protected virtual bool TestHeaderHit(ref Float2 location)
|
||||
{
|
||||
return _headerRect.Contains(ref location);
|
||||
return _headerRect.Contains(location);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -871,7 +871,7 @@ namespace FlaxEditor.GUI.Tree
|
||||
|
||||
static Rectangle GetChildGlobalRectangle(Control control, ref Matrix3x3 globalTransform)
|
||||
{
|
||||
Matrix3x3.Multiply(ref control._cachedTransform, ref globalTransform, out var globalChildTransform);
|
||||
Matrix3x3.Multiply(control._cachedTransform, globalTransform, out var globalChildTransform);
|
||||
return new Rectangle(globalChildTransform.M31, globalChildTransform.M32, control.Width * globalChildTransform.M11, control.Height * globalChildTransform.M22);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user