private void DrawElement(Rect rect, int index, bool isActive, bool isFocused)
{
Event current = Event.current;
if ((current.type == EventType.ContextClick) && rect.Contains(current.mousePosition))
{
this.OnContextClick(index);
current.Use();
}
if (Event.current.type == EventType.Repaint)
{
using (new EditorGUI.DisabledScope(true))
{
this.m_ReorderableListWithRenameAndScrollView.elementStyleRightAligned.Draw(rect, this.GetInfoString(index), false, false, false, false);
}
}
}