From 0d7ae57d3c908fb192fd4ac668458b4e69945807 Mon Sep 17 00:00:00 2001 From: Victoria Plitt Date: Thu, 24 Sep 2020 09:38:14 +0300 Subject: merge --- Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/Tango.Touch/Controls') diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs index dfb35ecbf..8ed4ead69 100644 --- a/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs +++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs @@ -155,9 +155,10 @@ namespace Tango.Touch.Controls #endregion + private FrameworkElement GetLastNotification() { - _border_drag.MaxHeight = ActualHeight; + return _items_control.ItemContainerGenerator.ContainerFromIndex(0) as FrameworkElement; } private void TouchNotificationBar_Loaded(object sender, RoutedEventArgs e) -- cgit v1.3.1