private bool IsPanEvent() { return (((Event.current.button == 0) && Event.current.alt) || ((Event.current.button == 2) && !Event.current.command)); }