示例#1
0
 private void trianglePopUp(bool value)
 {
     if (metadata.Value?.Track?.IsLoaded ?? false)
     {
         triangle.MoveToY(value || dragged ? -1 : 13, 200, Easing.OutCubic);
         timeText.ResizeTextHeightTo(value || dragged ? 45 - 14f : 45, 200, Easing.OutCubic);
         if (!value || dragged)
         {
             timeText.FadeIn(200, Easing.OutCubic);
             xyz = false;
         }
         totalTimeText.ResizeTextHeightTo(value || dragged ? 45 - 14f : 45, 200, Easing.OutCubic);
         if (!value || dragged)
         {
             totalTimeText.FadeIn(200, Easing.OutCubic);
             zyx = false;
         }
         hoverTimeText.FadeTo(value || dragged ? 1 : 0, 200, Easing.OutCubic);
     }
 }