improve usability
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
SelectionChanged="ListBox_SelectionChanged">
|
||||
<ListView.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<UniformGrid Columns="17" />
|
||||
<UniformGrid Columns="12" />
|
||||
</ItemsPanelTemplate>
|
||||
</ListView.ItemsPanel>
|
||||
<ListView.ItemTemplate>
|
||||
|
||||
@@ -10,8 +10,7 @@
|
||||
<Grid>
|
||||
<vlc:VideoView x:Name="VideoView" Panel.ZIndex="1">
|
||||
<Grid Panel.ZIndex="10" IsHitTestVisible="True" Background="#01FFFFFF" VerticalAlignment="Stretch"
|
||||
HorizontalAlignment="Stretch" MouseLeftButtonDown="MyUserControl_MouseDown"
|
||||
TouchDown="MyUserControl_TouchDown" >
|
||||
HorizontalAlignment="Stretch" MouseLeftButtonDown="MyUserControl_MouseDown">
|
||||
<Grid x:Name="overlayPanel" Visibility="Visible">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="70"/>
|
||||
|
||||
@@ -78,10 +78,7 @@ namespace TV_Player
|
||||
{
|
||||
ToggleOverlay();
|
||||
}
|
||||
private void MyUserControl_TouchDown(object sender, TouchEventArgs e)
|
||||
{
|
||||
ToggleOverlay();
|
||||
}
|
||||
|
||||
private void ToggleOverlay()
|
||||
{
|
||||
if (overlayPanel.Visibility == Visibility.Visible)
|
||||
|
||||
Reference in New Issue
Block a user