diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-07 09:08:12 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-07 09:08:12 +0200 |
| commit | 167e50bf7c4af84a6793326e39b0d3e41d4eb8bf (patch) | |
| tree | 57a9239773e3eb0b60e648119ddb782db92439f3 /src/GraphicObjects/PrivateContainer.cs | |
| parent | bacf29e47409c20292b6861e6ef40bfc2119eb7b (diff) | |
Focus improvments:
New function (checkHoverWidget) to check most inner control under the
mouse, than bubble onMouseMove through the parents
Diffstat (limited to 'src/GraphicObjects/PrivateContainer.cs')
| -rw-r--r-- | src/GraphicObjects/PrivateContainer.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/GraphicObjects/PrivateContainer.cs b/src/GraphicObjects/PrivateContainer.cs index f863fae8..01502bd4 100644 --- a/src/GraphicObjects/PrivateContainer.cs +++ b/src/GraphicObjects/PrivateContainer.cs @@ -146,14 +146,12 @@ namespace go #endregion #region Mouse handling - public override void onMouseMove (object sender, MouseMoveEventArgs e) + internal override void checkHoverWidget (MouseMoveEventArgs e) { - base.onMouseMove (sender, e); - + base.checkHoverWidget (e); if (child != null) if (child.MouseIsIn (e.Position)) - child.onMouseMove (sender, e); - + child.checkHoverWidget (e); } #endregion } |