diff options
| author | jp <jp_bruyere@hotmail.com> | 2016-03-14 12:13:38 +0100 |
|---|---|---|
| committer | jp <jp_bruyere@hotmail.com> | 2016-03-14 12:13:38 +0100 |
| commit | 6b0d7e5a317f4deb808b59f4393fb8b5d0488587 (patch) | |
| tree | 3994df710d3cd935d9feb99ce9e9f02d58a15aad /src | |
| parent | d27fabf158172e8ecf18701b13d1af3ee710756d (diff) | |
try catch in Popper mouse leave, prevent exception when _content not sized
Diffstat (limited to 'src')
| -rw-r--r-- | src/GraphicObjects/Popper.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/GraphicObjects/Popper.cs b/src/GraphicObjects/Popper.cs index 746e334b..69da1029 100644 --- a/src/GraphicObjects/Popper.cs +++ b/src/GraphicObjects/Popper.cs @@ -118,8 +118,10 @@ namespace Crow return; if (_content == null) return; - if (_content.MouseIsIn (e.Position)) - return; + try { + if (_content.MouseIsIn (e.Position)) + return; + } catch (Exception ex) {} IsPopped = false; } #endregion |