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
1 changed files with 3 additions and 2 deletions

View File

@ -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);
}