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
+1 -8
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<items> <items>
<item time="2019-01-02T10:00:00-03" version="0.2.1901"> <item time="2019-01-03" version="0.2.1901">
<content> <content>
<en-US>### What's new: <en-US>### What's new:
@@ -24,9 +24,7 @@
- Playlists management isn't implemented - Playlists management isn't implemented
- 'Live' button in player works worng - 'Live' button in player works worng
- Fullscreen height is wrong on every screen resolution except 1920x1080 - Fullscreen height is wrong on every screen resolution except 1920x1080
- When exiting fullscreen mode menu renders wrong
- Player seek is doing wrong - Player seek is doing wrong
- I'm not sure that you succeed in closing a video
</en-US> </en-US>
<ru-RU>### Что нового: <ru-RU>### Что нового:
@@ -50,13 +48,8 @@
- Работа с плейлистами - Работа с плейлистами
- Кнопка 'Live' в плеере работает плохо - Кнопка 'Live' в плеере работает плохо
- Неправильная высота плеера в полноэкранном режиме при разрешении не равном 1920х1080 - Неправильная высота плеера в полноэкранном режиме при разрешении не равном 1920х1080
- Меню неправильно отображается при выходе из полноэкранного режима
- Перемотка в плеера работает через раз - Перемотка в плеера работает через раз
- Я не уверен, что видео можно просто так закрыть
</ru-RU> </ru-RU>
</content> </content>
</item> </item>
</items> </items>
<!--<item time="YYYY-MM-DDThh:mm:ss-03" version="1.0.1">
<content>Announcement body (beware of special characters)</content>
</item>-->
+2 -4
View File
@@ -456,8 +456,7 @@ namespace FoxTube
{ {
nav.CompactModeThresholdWidth = short.MaxValue; nav.CompactModeThresholdWidth = short.MaxValue;
nav.ExpandedModeThresholdWidth = short.MaxValue; nav.ExpandedModeThresholdWidth = short.MaxValue;
nav.OpenPaneLength = 0; nav.IsPaneVisible = false;
nav.CompactPaneLength = 0;
nav.Margin = new Thickness(0, -45, 0, 0); nav.Margin = new Thickness(0, -45, 0, 0);
} }
else else
@@ -466,8 +465,7 @@ namespace FoxTube
if(videoPlaceholder.Content == null) if(videoPlaceholder.Content == null)
nav.ExpandedModeThresholdWidth = 1008; nav.ExpandedModeThresholdWidth = 1008;
nav.Margin = new Thickness(0); nav.Margin = new Thickness(0);
nav.OpenPaneLength = 300; nav.IsPaneVisible = true;
nav.CompactPaneLength = 40;
if (videoPlaceholder.Content != null && nav.IsPaneOpen) if (videoPlaceholder.Content != null && nav.IsPaneOpen)
nav.IsPaneOpen = false; nav.IsPaneOpen = false;
SetTitleBar(); SetTitleBar();