1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Add back nice scaling of music controller buttons

This commit is contained in:
Thomas Müller 2017-04-08 11:01:56 +02:00 committed by Dean Herbert
parent 166a78a15a
commit b99cbe6962
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit a7c99e06ff4c3f56fad24bec170eb93f42b1e149
Subproject commit 45e75163b272b7aa023afec7801ea079aba4ee69

View File

@ -144,7 +144,7 @@ namespace osu.Game.Overlays
},
playButton = new Button
{
//Scale = new Vector2(1.3f),
Scale = new Vector2(1.3f),
Action = () =>
{
if (current?.Track == null) return;
@ -484,7 +484,7 @@ namespace osu.Game.Overlays
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args)
{
content.ScaleTo(1, 2000, EasingTypes.OutQuint);
content.ScaleTo(0.75f, 2000, EasingTypes.OutQuint);
return base.OnMouseDown(state, args);
}