aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-06-01 02:06:40 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-06-01 02:06:40 +0300
commitaff00af76242117e3991b0ee526df905a63debce (patch)
tree96bc51983c314a6c08cc7f804c599a28f23efd8a /Software/Visual_Studio/Tango.Touch
parent862ee0839083ca350125d48841ce7427d5a578d9 (diff)
downloadTango-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.cs7
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;
+ }
});
}
}