Skip to content

Commit 928a4fd

Browse files
author
ArthurHub
committed
remove explicit SnapsToDevicePixels from demo
1 parent 3027252 commit 928a4fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Source/Demo/WPF/DemoWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:wpf="clr-namespace:TheArtOfDev.HtmlRenderer.Demo.WPF"
5-
Title="HTML Renderer WPF Demo" Height="486" Width="900" SnapsToDevicePixels="True">
5+
Title="HTML Renderer WPF Demo" Height="486" Width="900">
66
<Window.Resources>
77
<wpf:ToolStripImageConverter x:Key="Converter" />
88
</Window.Resources>

Source/Demo/WPF/GenerateImageWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<Button Content="Save to File" Click="OnSaveToFile_click"/>
1010
</ToolBar>
1111
<DockPanel x:Name="_imageBoxBorder" Background="{StaticResource TransBackBrush}">
12-
<Image x:Name="_imageBox" Stretch="None" SnapsToDevicePixels="True" />
12+
<Image x:Name="_imageBox" Stretch="None" />
1313
</DockPanel>
1414
</DockPanel>
1515
</Window>

0 commit comments

Comments
 (0)