void OnMouseUp(MouseUpEvent evt) { var track = target as Track; if (track != null && track.item != null) { m_ExtraViewPanel.Clear(); track.item.OnClick(m_ExtraViewPanel, m_TimeConverter.PixelToTime(evt.mousePosition.x)); } }
public float GetTimeForPixel(float pixel) { return(m_TimeConverter.PixelToTime(pixel)); }