mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-10 23:47:21 -08:00
style: keep aspect ratio of image in image diff view
This commit is contained in:
parent
61cead1867
commit
60bcdd671f
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@
|
||||||
<TextBlock Grid.Column="4" Classes="monospace" Text="{Binding NewSize}" Foreground="{DynamicResource Brush.FG2}" Margin="8,0,0,0"/>
|
<TextBlock Grid.Column="4" Classes="monospace" Text="{Binding NewSize}" Foreground="{DynamicResource Brush.FG2}" Margin="8,0,0,0"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Border Grid.Row="1" Background="{DynamicResource Brush.Window}" Effect="drop-shadow(0 0 8 #A0000000)" Margin="0,8,0,0">
|
<Border Grid.Row="1" Background="{DynamicResource Brush.Window}" Effect="drop-shadow(0 0 8 #A0000000)" Margin="0,8,0,0" HorizontalAlignment="Center">
|
||||||
<Border BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" Margin="8">
|
<Border BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" Margin="8">
|
||||||
<v:ImageDiffView Alpha="{Binding #ImageDiffSlider.Value}"
|
<v:ImageDiffView Alpha="{Binding #ImageDiffSlider.Value}"
|
||||||
OldImage="{Binding Old}"
|
OldImage="{Binding Old}"
|
||||||
|
|
Loading…
Reference in a new issue