|
@@ -109,8 +109,8 @@ namespace SongBrowserPlugin.UI
|
|
|
_levelListTableView = this._levelListViewController.GetComponentInChildren<StandardLevelListTableView>();
|
|
|
}
|
|
|
|
|
|
- _playButton = Resources.FindObjectsOfTypeAll<Button>().First(x => (x.name == "PlayButton"));
|
|
|
-
|
|
|
+ _playButton = _levelDetailViewController.GetComponentsInChildren<Button>().FirstOrDefault(x => x.name == "PlayButton");
|
|
|
+
|
|
|
_simpleDialogPromptViewControllerPrefab = Resources.FindObjectsOfTypeAll<SimpleDialogPromptViewController>().First();
|
|
|
|
|
|
this._deleteDialog = UnityEngine.Object.Instantiate<SimpleDialogPromptViewController>(this._simpleDialogPromptViewControllerPrefab);
|
|
@@ -161,7 +161,7 @@ namespace SongBrowserPlugin.UI
|
|
|
float buttonWidth = 14.0f;
|
|
|
float buttonHeight = 5.0f;
|
|
|
float buttonX = -61;
|
|
|
- float buttonY = 77.0f;
|
|
|
+ float buttonY = 74.5f;
|
|
|
|
|
|
string[] buttonNames = new string[]
|
|
|
{
|