fix: change scroll unit to pixel

This commit is contained in:
Anna 2020-11-07 20:10:10 -05:00
parent 8c781bf89d
commit 84d0be81e6
1 changed files with 2 additions and 1 deletions

View File

@ -63,13 +63,14 @@
<ItemsControl Grid.Row="0"
x:Name="items"
Padding="4"
VirtualizingPanel.ScrollUnit="Pixel"
ItemsSource="{Binding .}">
<ItemsControl.Template>
<ControlTemplate TargetType="ItemsControl">
<ScrollViewer x:Name="scroller"
CanContentScroll="True"
Background="#333">
<ItemsPresenter />
<ItemsPresenter Margin="0,0,16,0" />
</ScrollViewer>
</ControlTemplate>
</ItemsControl.Template>