Archived
1
0

Menu render fix

Related Work Items: #239
This commit is contained in:
Michael Gordeev
2019-01-03 20:13:05 +03:00
parent 16c79dae0c
commit 605330bd83
2 changed files with 3 additions and 12 deletions
+2 -4
View File
@@ -456,8 +456,7 @@ namespace FoxTube
{
nav.CompactModeThresholdWidth = short.MaxValue;
nav.ExpandedModeThresholdWidth = short.MaxValue;
nav.OpenPaneLength = 0;
nav.CompactPaneLength = 0;
nav.IsPaneVisible = false;
nav.Margin = new Thickness(0, -45, 0, 0);
}
else
@@ -466,8 +465,7 @@ namespace FoxTube
if(videoPlaceholder.Content == null)
nav.ExpandedModeThresholdWidth = 1008;
nav.Margin = new Thickness(0);
nav.OpenPaneLength = 300;
nav.CompactPaneLength = 40;
nav.IsPaneVisible = true;
if (videoPlaceholder.Content != null && nav.IsPaneOpen)
nav.IsPaneOpen = false;
SetTitleBar();