protected override void OnMouseUp(MousePanelEvent e) { if (_mouseDown) { _mouseDown = false; _currentNode = null; } base.OnMouseUp(e); }
protected override void OnMouseDown(MousePanelEvent e) { if (!_mouseDown) { _currentNode = Utils.GetObjectByType <Node>(NodeType); Window.Instance.AddNode(_currentNode); _currentNode.Display(); _currentNode.HighlightError(); _mouseDown = true; } base.OnMouseDown(e); }
protected override void OnMouseUp(MousePanelEvent e) { SetMouseCapture(false); SetClass("dragging", false); }
protected override void OnMouseDown(MousePanelEvent e) { SetMouseCapture(true); SetClass("dragging", true); }
protected override void OnDoubleClick(MousePanelEvent e) { _fileSelection?.OnConfirm(this); }
protected override void OnClick(MousePanelEvent e) { _fileSelection?.OnSelect(this); }