Merge pull request #6500 from Rudicito/IsRootedAt-from-internal-to-public

Change IsRootedAt method from internal to public in DrawableExtensions
This commit is contained in:
Dan Balasescu
2025-01-21 14:15:08 +09:00
committed by GitHub

View File

@@ -49,7 +49,7 @@ namespace osu.Framework.Graphics
/// <param name="drawable">The <see cref="Drawable"/> to be checked.</param>
/// <param name="root">The root to be checked against.</param>
/// <returns>Whether the drawable was rooted.</returns>
internal static bool IsRootedAt(this Drawable? drawable, Drawable root)
public static bool IsRootedAt(this Drawable? drawable, Drawable root)
{
if (drawable == root) return true;