diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-01 07:46:27 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-01 07:46:27 +0100 |
| commit | d3ffc6c7f0ba9aed91af246f90b7f787d10178ec (patch) | |
| tree | 19b65211c6a023976a326f870dba5e194c5d186c /src | |
| parent | ee9971ffb454af5462a00e64c0f1018d1f2a187e (diff) | |
debug after rebaseDockingViewTests
Diffstat (limited to 'src')
| -rw-r--r-- | src/GraphicObjects/GraphicObject.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index dfb00e06..c002c865 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -1054,7 +1054,7 @@ namespace Crow isDragged = value; if (isDragged) { - currentInterface.HoverWidget = null; + CurrentInterface.HoverWidget = null; onStartDrag (this, null); } @@ -1533,14 +1533,14 @@ namespace Crow if (CurrentInterface.ActiveWidget == null) CurrentInterface.ActiveWidget = this; - if (this.Focusable && !(Interface.FocusOnHover || currentInterface.focusGiven)) { + if (this.Focusable && !(Interface.FocusOnHover || CurrentInterface.focusGiven)) { CurrentInterface.FocusedWidget = this; CurrentInterface.ActiveWidget = this; - currentInterface.focusGiven = true; + CurrentInterface.focusGiven = true; if (CurrentInterface.eligibleForDoubleClick == this && CurrentInterface.clickTimer.ElapsedMilliseconds < Interface.DoubleClick) onMouseDoubleClick (this, e); else - currentInterface.clickTimer.Restart(); + CurrentInterface.clickTimer.Restart(); CurrentInterface.eligibleForDoubleClick = null; } //bubble event to the top @@ -1553,8 +1553,8 @@ namespace Crow public virtual void onMouseUp(object sender, MouseButtonEventArgs e){ if (IsDragged){ bool dropOK = false; - if (currentInterface.HoverWidget!=null) { - if (currentInterface.HoverWidget.AllowDrop) + if (CurrentInterface.HoverWidget!=null) { + if (CurrentInterface.HoverWidget.AllowDrop) dropOK = true; } if (dropOK) |