Sfoglia il codice sorgente

Resize playbutton UI to fit everything.

Stephen Damm 5 anni fa
parent
commit
318c7016f0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      SongBrowserPlugin/UI/Browser/SongBrowserUI.cs

+ 1 - 1
SongBrowserPlugin/UI/Browser/SongBrowserUI.cs

@@ -469,7 +469,7 @@ namespace SongBrowser.UI
             // shrink play button container
             // shrink play button container
             RectTransform playContainerRect = _standardLevelDetailView.GetComponentsInChildren<RectTransform>().First(x => x.name == "PlayContainer");
             RectTransform playContainerRect = _standardLevelDetailView.GetComponentsInChildren<RectTransform>().First(x => x.name == "PlayContainer");
             RectTransform playButtonsRect = playContainerRect.GetComponentsInChildren<RectTransform>().First(x => x.name == "PlayButtons");
             RectTransform playButtonsRect = playContainerRect.GetComponentsInChildren<RectTransform>().First(x => x.name == "PlayButtons");
-            playButtonsRect.localScale = new Vector3(0.95f, 0.95f, 0.95f);
+            playButtonsRect.localScale = new Vector3(0.825f, 0.825f, 0.825f);
         }
         }
 
 
         /// <summary>
         /// <summary>