summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/SummaryView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-12-15 21:33:57 +0000
committersr55 <[email protected]>2017-12-15 21:33:57 +0000
commitadd6e2ac430652a96ff6fd1a72824796064e259f (patch)
tree9e4e40fc78df59bac9f9b36c33c24db33c37dd93 /win/CS/HandBrakeWPF/Views/SummaryView.xaml
parent5283a0a7e3200218b7074574f65d2f849a052edb (diff)
WinGui: Mouse Wheel can scroll previews.
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/SummaryView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/SummaryView.xaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Views/SummaryView.xaml b/win/CS/HandBrakeWPF/Views/SummaryView.xaml
index e2d638554..cb3ed220b 100644
--- a/win/CS/HandBrakeWPF/Views/SummaryView.xaml
+++ b/win/CS/HandBrakeWPF/Views/SummaryView.xaml
@@ -118,7 +118,7 @@
</Grid.ColumnDefinitions>
<Image Source="{Binding PreviewImage}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="0,5,10,0" x:Name="previewImage" Panel.ZIndex="0" Grid.ColumnSpan="2"
- MaxWidth="{Binding MaxWidth}" MaxHeight="{Binding MaxHeight}" />
+ MaxWidth="{Binding MaxWidth}" MaxHeight="{Binding MaxHeight}" MouseWheel="PreviewImage_OnMouseWheel" />
<Border Grid.Row="1" Grid.ColumnSpan="2" VerticalAlignment="Bottom" HorizontalAlignment="Center" Background="Transparent" Margin="0,5,0,5">
<TextBlock Text="{Binding PreviewInfo}" TextAlignment="Center" Visibility="{Binding IsPreviewInfoVisible, Converter={StaticResource boolToVisConverter}}" />
@@ -129,6 +129,7 @@
<ColumnDefinition Width="42" />
<ColumnDefinition Width="42" />
</Grid.ColumnDefinitions>
+
<Border BorderThickness="1,1,1,1" CornerRadius="4,0,0,4" VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Column="0" cal:Message.Attach="[Event MouseDown] = [Action PreviousPreview]"
Visibility="{Binding IsPreviousPreviewControlVisible,Converter={StaticResource boolToVisConverter}}"
Background="Black" Opacity="0.5" Margin="0,0,0,0" >