mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-23 01:36:57 -08:00
style: set RenderOptions.BitmapInterpolationMode="HighQuality" for all image views
This commit is contained in:
parent
911456a3e7
commit
871751d7c0
2 changed files with 3 additions and 2 deletions
|
@ -130,7 +130,8 @@
|
||||||
<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}"
|
||||||
NewImage="{Binding New}"/>
|
NewImage="{Binding New}"
|
||||||
|
RenderOptions.BitmapInterpolationMode="HighQuality"/>
|
||||||
</Border>
|
</Border>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
<DataTemplate DataType="m:RevisionImageFile">
|
<DataTemplate DataType="m:RevisionImageFile">
|
||||||
<Border Background="{DynamicResource Brush.Window}" Effect="drop-shadow(0 0 8 #A0000000)" Margin="0,8" VerticalAlignment="Center" HorizontalAlignment="Center">
|
<Border Background="{DynamicResource Brush.Window}" Effect="drop-shadow(0 0 8 #A0000000)" Margin="0,8" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||||
<Border BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" Margin="8">
|
<Border BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" Margin="8">
|
||||||
<v:RevisionImageFileView Source="{Binding Image}"/>
|
<v:RevisionImageFileView Source="{Binding Image}" RenderOptions.BitmapInterpolationMode="HighQuality"/>
|
||||||
</Border>
|
</Border>
|
||||||
</Border>
|
</Border>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
|
|
Loading…
Reference in a new issue