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:
parent
fa28e7bdc3
commit
361e187949
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user