diff --git a/BeatSaberMarkupLanguage/Components/BSMLBoxTableCell.cs b/BeatSaberMarkupLanguage/Components/BSMLBoxTableCell.cs index 43a9b743..a981e04b 100644 --- a/BeatSaberMarkupLanguage/Components/BSMLBoxTableCell.cs +++ b/BeatSaberMarkupLanguage/Components/BSMLBoxTableCell.cs @@ -15,7 +15,7 @@ public class BSMLBoxTableCell : TableCell private Color highlightedColor0 = new(0f, 64f / 85f, 1f, 1f); - private Color highlightedColor1 = new(0f, 64f / 85f, 1f, 0f); + private Color highlightedColor1 = new(0f, 64f / 85f, 1f, 1f); public void SetData(Sprite coverSprite) { diff --git a/BeatSaberMarkupLanguage/Components/CustomListTableData.cs b/BeatSaberMarkupLanguage/Components/CustomListTableData.cs index 590225a5..5d0a5a2d 100644 --- a/BeatSaberMarkupLanguage/Components/CustomListTableData.cs +++ b/BeatSaberMarkupLanguage/Components/CustomListTableData.cs @@ -94,6 +94,10 @@ public BSMLBoxTableCell InstantiateBoxTableCell(LevelPackCell levelPackTableCell ImageView coverImage = levelPackTableCell._coverImage; ImageView selectionImage = levelPackTableCell._selectionImage; + // the cover image isn't perfectly square + coverImage.rectTransform.sizeDelta = new Vector2(0, -1); + selectionImage.rectTransform.sizeDelta = new Vector2(9, 9); + foreach (Transform child in coverImage.transform) { Destroy(child.gameObject);