private void DrawLabels()
{
if (this.isDragging)
{
if (!Mathf.Approximately(this.selectionBounds.size.x, 0f))
{
GUIContent content = new GUIContent(string.Format("{0}", this.m_DopeSheetEditor.FormatTime(this.selectionBounds.min.x, this.m_State.frameRate, this.m_State.timeFormat)));
GUIContent content2 = new GUIContent(string.Format("{0}", this.m_DopeSheetEditor.FormatTime(this.selectionBounds.max.x, this.m_State.frameRate, this.m_State.timeFormat)));
Vector2 vector4 = base.styles.dragLabel.CalcSize(content);
Vector2 vector5 = base.styles.dragLabel.CalcSize(content2);
EditorGUI.DoDropShadowLabel(new Rect(this.m_Layout.leftLabelAnchor.x - vector4.x, this.m_Layout.leftLabelAnchor.y, vector4.x, vector4.y), content, base.styles.dragLabel, 0.3f);
EditorGUI.DoDropShadowLabel(new Rect(this.m_Layout.rightLabelAnchor.x, this.m_Layout.rightLabelAnchor.y, vector5.x, vector5.y), content2, base.styles.dragLabel, 0.3f);
}
else
{
GUIContent content3 = new GUIContent(string.Format("{0}", this.m_DopeSheetEditor.FormatTime(this.selectionBounds.center.x, this.m_State.frameRate, this.m_State.timeFormat)));
Vector2 vector7 = base.styles.dragLabel.CalcSize(content3);
EditorGUI.DoDropShadowLabel(new Rect(this.m_Layout.leftLabelAnchor.x, this.m_Layout.leftLabelAnchor.y, vector7.x, vector7.y), content3, base.styles.dragLabel, 0.3f);
}
}
}