aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2020-09-24 09:38:14 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2020-09-24 09:38:14 +0300
commit0d7ae57d3c908fb192fd4ac668458b4e69945807 (patch)
tree0772c6b90ecf6237e2d694033273dae112697bc4 /Software/Visual_Studio/Tango.Touch
parent9ad450c87c6c729b899b156247efc46608100b0c (diff)
downloadTango-0d7ae57d3c908fb192fd4ac668458b4e69945807.tar.gz
Tango-0d7ae57d3c908fb192fd4ac668458b4e69945807.zip
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs3
1 files changed, 2 insertions, 1 deletions
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)