1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 07:32:55 +08:00

Temporarily disable button scaling.

This commit is contained in:
Dean Herbert 2017-04-07 14:32:33 +09:00
parent fa28e7bdc3
commit 361e187949
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -122,6 +122,7 @@ namespace osu.Game.Overlays
AutoSizeAxes = Axes.X, AutoSizeAxes = Axes.X,
Height = bottom_black_area_height, Height = bottom_black_area_height,
Direction = FillDirection.Horizontal, Direction = FillDirection.Horizontal,
Spacing = new Vector2(5),
Origin = Anchor.BottomCentre, Origin = Anchor.BottomCentre,
Anchor = Anchor.BottomCentre, Anchor = Anchor.BottomCentre,
Children = new[] Children = new[]
@ -133,7 +134,7 @@ namespace osu.Game.Overlays
}, },
playButton = new Button playButton = new Button
{ {
Scale = new Vector2(1.4f), //Scale = new Vector2(1.4f),
Action = () => Action = () =>
{ {
if (current?.Track == null) return; if (current?.Track == null) return;
@ -471,7 +472,7 @@ namespace osu.Game.Overlays
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) protected override bool OnMouseDown(InputState state, MouseDownEventArgs args)
{ {
content.ScaleTo(0.7f, 2000, EasingTypes.OutQuint); content.ScaleTo(1, 2000, EasingTypes.OutQuint);
return base.OnMouseDown(state, args); return base.OnMouseDown(state, args);
} }