public override void Process(FlowGraph graph, FlowCanvas canvas)
        {
            if (CommentPopup.active == null)
            {
                if (!firstSlash)
                {
                    if (@event != null)
                    {
                        if (@event.keyCode == KeyCode.Slash && @event.rawType == EventType.KeyUp && @event.control)
                        {
                            firstSlash = true;
                        }
                    }
                }
                else
                {
                    if (@event.keyCode == KeyCode.Slash && @event.rawType == EventType.KeyUp && @event.control)
                    {
                        CommentPopup.Open();
                        firstSlash = false;
                    }
                }

                HUMFlow.AfterTicks(ref ticks, 800, true, () => { firstSlash = false; });
            }
        }
        public static void Open()
        {
            CommentPopup popup  = CommentPopup.CreateInstance <CommentPopup>();
            var          canvas = GraphWindow.activeContext?.canvas as FlowCanvas;

            popup.placement = canvas.mousePosition;
            active          = popup;
            popup.ShowPopup();
        }
 private void OnDestroy()
 {
     active = null;
 }