private void DoZoomSlider()
{
GUILayout.Label(Styles.zoomSliderContent, EditorStyles.miniLabel, new GUILayoutOption[0]);
EditorGUI.BeginChangeCheck();
float num = Mathf.Log10(this.m_ZoomArea.scale.y);
float leftValue = Mathf.Log10(this.minScale);
float rightValue = Mathf.Log10(this.maxScale);
GUILayoutOption[] options = new GUILayoutOption[] { GUILayout.MaxWidth(150f), GUILayout.MinWidth(30f) };
num = GUILayout.HorizontalSlider(num, leftValue, rightValue, options);
if (EditorGUI.EndChangeCheck())
{
float newZoom = Mathf.Pow(10f, num);
this.SnapZoom(newZoom);
}
GUIContent content = EditorGUIUtility.TempContent(string.Format("{0}x", this.m_ZoomArea.scale.y.ToString("G2")));
content.tooltip = Styles.zoomSliderContent.tooltip;
GUILayoutOption[] optionArray2 = new GUILayoutOption[] { GUILayout.Width(30f) };
GUILayout.Label(content, EditorStyles.miniLabel, optionArray2);
content.tooltip = string.Empty;
}