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:
parent
166a78a15a
commit
b99cbe6962
@ -1 +1 @@
|
||||
Subproject commit a7c99e06ff4c3f56fad24bec170eb93f42b1e149
|
||||
Subproject commit 45e75163b272b7aa023afec7801ea079aba4ee69
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user