aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-22 23:13:49 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-09-01 12:44:39 +0200
commite270b1803ed482c6f6346696ffbf568580c50ab7 (patch)
tree308bdbcd41a93eb633bec11a83f2796c0c78ebe7 /src/Interface.cs
parentac425931920420f8eb1d1a70ee5e883e439b6939 (diff)
set sender of mouse leave to widget loosing mouse
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index fc977fc4..5ad638b4 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -572,7 +572,7 @@ namespace Crow
int i = 0;
while (i < idxhw) {
if (GraphicTree [i].MouseIsIn (e.Position)) {
- HoverWidget.onMouseLeave (this, e);
+ HoverWidget.onMouseLeave (HoverWidget, e);
GraphicTree [i].checkHoverWidget (e);
return true;
}
@@ -585,7 +585,7 @@ namespace Crow
HoverWidget.checkHoverWidget (e);
return true;
} else {
- HoverWidget.onMouseLeave (this, e);
+ HoverWidget.onMouseLeave (HoverWidget, e);
//seek upward from last focused graph obj's
while (HoverWidget.Parent as GraphicObject != null) {
HoverWidget = HoverWidget.Parent as GraphicObject;
@@ -593,7 +593,7 @@ namespace Crow
HoverWidget.checkHoverWidget (e);
return true;
} else
- HoverWidget.onMouseLeave (this, e);
+ HoverWidget.onMouseLeave (HoverWidget, e);
}
}
}