public float PixelToTime(float pixelTime, float frameRate)
{
float width = this.contentRect.width;
float num2 = this.m_TimeArea.shownArea.xMax - this.m_TimeArea.shownArea.xMin;
float xMin = this.m_TimeArea.shownArea.xMin;
float num4 = ((pixelTime / width) * num2) + xMin;
if (frameRate != 0f)
{
num4 = Mathf.Round(num4 * frameRate) / frameRate;
}
return num4;
}