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

Commit 5dce3eb

Browse files
Making sure to capture the rect returned by the remote tree branch
Otherwise the scrollable area will be restrcticted to the local branch tree
1 parent 33379b5 commit 5dce3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ private void OnTreeGUI(Rect rect)
316316

317317
rect.y += Styles.TreePadding;
318318

319-
treeRemotes.Render(rect, scroll, _ => {}, selectedNode =>
319+
rect = treeRemotes.Render(rect, scroll, _ => {}, selectedNode =>
320320
{
321321
var indexOfFirstSlash = selectedNode.Name.IndexOf('/');
322322
var originName = selectedNode.Name.Substring(0, indexOfFirstSlash);

0 commit comments

Comments
 (0)