Adjust icon scale of play button.

This commit is contained in:
Dean Herbert 2017-04-08 19:25:40 +09:00
parent b99cbe6962
commit e40ad69a3b

View File

@ -48,7 +48,7 @@ namespace osu.Game.Overlays
private const float progress_height = 10;
private const float bottom_black_area_height = 50;
private const float bottom_black_area_height = 55;
public MusicController()
{
@ -144,7 +144,8 @@ namespace osu.Game.Overlays
},
playButton = new Button
{
Scale = new Vector2(1.3f),
Scale = new Vector2(1.4f),
IconScale = new Vector2(1.4f),
Action = () =>
{
if (current?.Track == null) return;
@ -423,6 +424,12 @@ namespace osu.Game.Overlays
private const float button_size = 30;
public Vector2 IconScale
{
get { return icon.Scale; }
set { icon.Scale = value; }
}
public Button()
{
AutoSizeAxes = Axes.Both;