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

Commit 06dd54e

Browse files
Trying to set the position of the tree control
1 parent a7a3b20 commit 06dd54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ public override void OnGUI()
484484
rect = GUILayoutUtility.GetLastRect();
485485
GUILayout.BeginHorizontal(Styles.HistoryFileTreeBoxStyle);
486486
{
487-
var treeControlRect = new Rect(0f, 0f, Position.width, Position.height - rect.height + Styles.CommitAreaPadding);
487+
var treeControlRect = new Rect(rect.x, rect.y, Position.width, Position.height - rect.height + Styles.CommitAreaPadding);
488488
var treeRect = Rect.zero;
489489
if (treeChanges != null)
490490
{

0 commit comments

Comments
 (0)