diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-11-27 19:10:18 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-11-27 19:10:18 +0200 |
| commit | 3f22291740c0ac631a655495f6198dbf18be2de2 (patch) | |
| tree | 3a5106dfc6258b5a30dce8e26f78a65b0b7a87d3 /Software/Visual_Studio/Tango.SharedUI | |
| parent | ca29510e1e336c4d68aaa926cfea6eb72ce42779 (diff) | |
| download | Tango-3f22291740c0ac631a655495f6198dbf18be2de2.tar.gz Tango-3f22291740c0ac631a655495f6198dbf18be2de2.zip | |
A lot of work !!!
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI')
| -rw-r--r-- | Software/Visual_Studio/Tango.SharedUI/Controls/NavigationControl.cs | 3 |
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 |
