Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 4d46b74

Browse files
committed
Fix references for rename
1 parent 7e5246c commit 4d46b74

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/UI/Widgets/UnityObjects/Texture2DWidget.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private void ToggleTextureViewer()
7171
textureViewerRoot.SetActive(false);
7272
toggleButton.ButtonText.text = "View Texture";
7373

74-
ParentInspector.mainContentHolder.SetActive(true);
74+
ParentInspector.ContentRoot.SetActive(true);
7575
}
7676
else
7777
{
@@ -85,7 +85,7 @@ private void ToggleTextureViewer()
8585
textureViewerRoot.SetActive(true);
8686
toggleButton.ButtonText.text = "Hide Texture";
8787

88-
ParentInspector.mainContentHolder.gameObject.SetActive(false);
88+
ParentInspector.ContentRoot.gameObject.SetActive(false);
8989
}
9090
}
9191

src/UI/Widgets/UnityObjects/UnityObjectWidget.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public virtual void Update()
8080
if (this.UnityObjectRef)
8181
{
8282
nameInput.Text = UnityObjectRef.name;
83-
ParentInspector.Tab.TabText.text = $"{ParentInspector.currentBaseTabText} \"{UnityObjectRef.name}\"";
83+
ParentInspector.Tab.TabText.text = $"{ParentInspector.TabButtonText} \"{UnityObjectRef.name}\"";
8484
}
8585
}
8686

0 commit comments

Comments
 (0)