mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Adjust timeline height to account for less global control points
This commit is contained in:
@ -59,7 +59,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
private Track track;
|
private Track track;
|
||||||
|
|
||||||
private const float timeline_height = 72;
|
private const float timeline_height = 72;
|
||||||
private const float timeline_expanded_height = 156;
|
private const float timeline_expanded_height = 94;
|
||||||
|
|
||||||
public Timeline(Drawable userContent)
|
public Timeline(Drawable userContent)
|
||||||
{
|
{
|
||||||
@ -159,7 +159,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
if (visible.NewValue)
|
if (visible.NewValue)
|
||||||
{
|
{
|
||||||
this.ResizeHeightTo(timeline_expanded_height, 200, Easing.OutQuint);
|
this.ResizeHeightTo(timeline_expanded_height, 200, Easing.OutQuint);
|
||||||
mainContent.MoveToY(36, 200, Easing.OutQuint);
|
mainContent.MoveToY(20, 200, Easing.OutQuint);
|
||||||
|
|
||||||
// delay the fade in else masking looks weird.
|
// delay the fade in else masking looks weird.
|
||||||
controlPoints.Delay(180).FadeIn(400, Easing.OutQuint);
|
controlPoints.Delay(180).FadeIn(400, Easing.OutQuint);
|
||||||
|
Reference in New Issue
Block a user