1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 05:25:36 +08:00

Set the timeline's height to a sane non-zero default

This isn't required but makes the initial appearance animation nicer.
This commit is contained in:
Dean Herbert 2021-04-16 00:58:28 +09:00
parent 215ad78045
commit 15d48a924b

View File

@ -65,6 +65,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
this.userContent = userContent;
RelativeSizeAxes = Axes.X;
Height = timeline_height;
ZoomDuration = 200;
ZoomEasing = Easing.OutQuint;