diff --git a/BSIPA-ModList/UI/ViewControllers/DownloadProgressViewController.cs b/BSIPA-ModList/UI/ViewControllers/DownloadProgressViewController.cs index 3439696d..a828bf2c 100644 --- a/BSIPA-ModList/UI/ViewControllers/DownloadProgressViewController.cs +++ b/BSIPA-ModList/UI/ViewControllers/DownloadProgressViewController.cs @@ -85,9 +85,9 @@ namespace BSIPA_ModList.UI.ViewControllers viewport.SetParent(gobj.GetComponent(), false); gobj.GetComponent().viewport = viewport; - RectMask2D viewportMask = Instantiate(Resources.FindObjectsOfTypeAll().First(), _currentlyUpdatingTableView.transform, false); + /*RectMask2D viewportMask = Instantiate(Resources.FindObjectsOfTypeAll().First(), _currentlyUpdatingTableView.transform, false); viewportMask.transform.DetachChildren(); - _currentlyUpdatingTableView.GetComponentsInChildren().First(x => x.name == "Content").transform.SetParent(viewportMask.rectTransform, false); + _currentlyUpdatingTableView.GetComponentsInChildren().First(x => x.name == "Content").transform.SetParent(viewportMask.rectTransform, false);*/ (_currentlyUpdatingTableView.transform as RectTransform).anchorMin = new Vector2(0.3f, 0.5f); (_currentlyUpdatingTableView.transform as RectTransform).anchorMax = new Vector2(0.7f, 0.5f); diff --git a/BSIPA-ModList/UI/ViewControllers/ModListController.cs b/BSIPA-ModList/UI/ViewControllers/ModListController.cs index 70308080..fbc999a1 100644 --- a/BSIPA-ModList/UI/ViewControllers/ModListController.cs +++ b/BSIPA-ModList/UI/ViewControllers/ModListController.cs @@ -85,6 +85,9 @@ namespace BSIPA_ModList.UI rt.anchorMax = new Vector2(.9f, 1f); _customListTableView.gameObject.GetComponent().scrollSensitivity = 0f; + + var content = _customListTableView.contentTransform; + content.anchoredPosition = new Vector2(7f, 0f); } protected override void OnDestroy() diff --git a/Refs/BeatSaberCustomUI.dll b/Refs/BeatSaberCustomUI.dll index e74c3515..ea39c5d4 100644 Binary files a/Refs/BeatSaberCustomUI.dll and b/Refs/BeatSaberCustomUI.dll differ