mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-13 11:20:31 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user