diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-06-01 02:06:40 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-06-01 02:06:40 +0300 |
| commit | aff00af76242117e3991b0ee526df905a63debce (patch) | |
| tree | 96bc51983c314a6c08cc7f804c599a28f23efd8a /Software/Visual_Studio/Tango.Touch | |
| parent | 862ee0839083ca350125d48841ce7427d5a578d9 (diff) | |
| download | Tango-aff00af76242117e3991b0ee526df905a63debce.tar.gz Tango-aff00af76242117e3991b0ee526df905a63debce.zip | |
Remote Cursor.
Cursor Visibility.
Mouse Scroll.
PPC notification bar workaround.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch')
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs index ccd27333a..d7f79cb8d 100644 --- a/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs +++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs @@ -165,7 +165,12 @@ namespace Tango.Touch.Controls { element.RegisterForLoadedOrNow((x, y) => { - CurrentMinHeight = element.FindChild<UserControl>().MinHeight; + var userControl = element.FindChild<UserControl>(); + + if (userControl != null) + { + CurrentMinHeight = userControl.MinHeight; + } }); } } |
