mirror of https://github.com/ppy/osu
Temporarily disable button scaling.
This commit is contained in:
parent
fa28e7bdc3
commit
361e187949
|
@ -122,6 +122,7 @@ private void load(OsuGameBase game, OsuConfigManager config, BeatmapDatabase bea
|
|||
AutoSizeAxes = Axes.X,
|
||||
Height = bottom_black_area_height,
|
||||
Direction = FillDirection.Horizontal,
|
||||
Spacing = new Vector2(5),
|
||||
Origin = Anchor.BottomCentre,
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Children = new[]
|
||||
|
@ -133,7 +134,7 @@ private void load(OsuGameBase game, OsuConfigManager config, BeatmapDatabase bea
|
|||
},
|
||||
playButton = new Button
|
||||
{
|
||||
Scale = new Vector2(1.4f),
|
||||
//Scale = new Vector2(1.4f),
|
||||
Action = () =>
|
||||
{
|
||||
if (current?.Track == null) return;
|
||||
|
@ -471,7 +472,7 @@ protected override void OnHoverLost(InputState state)
|
|||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue