Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 2b8e9a9

Browse files
fix
1 parent ffd13fd commit 2b8e9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎GameFramework/Editor/UI/InfiniteListViewEditor.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ private static void CreateInfiniteListView(MenuCommand menuCommand)
2929
GameObject parent = menuCommand.context as GameObject;
3030
if (parent != null)
3131
{
32-
if (parent.GetComponent<Canvas>() == null)
32+
if (parent.GetComponentInParent<Canvas>() == null)
3333
parent = null;
3434
}
3535
if (parent == null)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /