aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SharedUI/Controls
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-11-27 19:10:18 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-11-27 19:10:18 +0200
commit3f22291740c0ac631a655495f6198dbf18be2de2 (patch)
tree3a5106dfc6258b5a30dce8e26f78a65b0b7a87d3 /Software/Visual_Studio/Tango.SharedUI/Controls
parentca29510e1e336c4d68aaa926cfea6eb72ce42779 (diff)
downloadTango-3f22291740c0ac631a655495f6198dbf18be2de2.tar.gz
Tango-3f22291740c0ac631a655495f6198dbf18be2de2.zip
A lot of work !!!
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI/Controls')
-rw-r--r--Software/Visual_Studio/Tango.SharedUI/Controls/NavigationControl.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.SharedUI/Controls/NavigationControl.cs b/Software/Visual_Studio/Tango.SharedUI/Controls/NavigationControl.cs
index 71dc96774..89427e1ed 100644
--- a/Software/Visual_Studio/Tango.SharedUI/Controls/NavigationControl.cs
+++ b/Software/Visual_Studio/Tango.SharedUI/Controls/NavigationControl.cs
@@ -579,12 +579,13 @@ namespace Tango.SharedUI.Controls
{
Thread.Sleep(10);
- Dispatcher.BeginInvoke(new Action(() =>
+ Dispatcher.BeginInvoke(new Action(async () =>
{
if (element != null)
{
if (SelectedElement == element)
{
+ await Task.Delay((int)TransitionDuration.TimeSpan.TotalMilliseconds * 2);
_onCompleted?.Invoke();
}
else