Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 484d2ef

Browse files
committed
Don't need this anymore, Load always happens before Render
1 parent bb7ef0b commit 484d2ef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/BranchesView.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,6 @@ public void Load(IEnumerable<ITreeData> data, string title)
551551

552552
public Rect Render(Rect rect, Action<TreeNode> singleClick = null, Action<TreeNode> doubleClick = null)
553553
{
554-
if (!nodes.Any())
555-
return rect;
556-
557554
RequiresRepaint = false;
558555
rect = new Rect(0f, rect.y, rect.width, ItemHeight);
559556

0 commit comments

Comments
 (0)