/// <summary> /// </summary> /// <param name="sv"></param> public void MoveSliderVelocityLine(SliderVelocityInfo sv) { if (sv == null || !SliderVelocityLines.ContainsKey(sv)) { return; } SliderVelocityLines[sv].Y = Height - Height * (float)(sv.StartTime / (AudioEngine.Track.Length)); Container.ForceRecache(); }
/// <summary> /// </summary> /// <param name="sv"></param> public void RemoveSliderVelocityLine(SliderVelocityInfo sv) { if (sv == null) { return; } if (SliderVelocityLines.ContainsKey(sv)) { SliderVelocityLines[sv].Destroy(); SliderVelocityLines.Remove(sv); } Container.ForceRecache(); }