Fixed initial waveform duplication

This commit is contained in:
Alexander Shabarshov 2026-07-25 14:19:59 +01:00
parent 72b4a16378
commit 8606801242

View File

@ -39,14 +39,12 @@
Grid.Column="0" Grid.Column="0"
Margin="8"> Margin="8">
<ScrollViewer Margin="8" <ScrollViewer Margin="8" VerticalScrollBarVisibility="Auto">
VerticalScrollBarVisibility="Auto">
<ItemsControl ItemsSource="{Binding Bands}" <ItemsControl ItemsSource="{Binding Bands}"
Margin="0,2"> Margin="0,2">
<ItemsControl.ItemsPanel> <ItemsControl.ItemsPanel>
<ItemsPanelTemplate> <ItemsPanelTemplate>
<StackPanel Orientation="Vertical"/> <VirtualizingStackPanel Orientation="Vertical"/>
</ItemsPanelTemplate> </ItemsPanelTemplate>
</ItemsControl.ItemsPanel> </ItemsControl.ItemsPanel>
@ -56,7 +54,6 @@
</DataTemplate> </DataTemplate>
</ItemsControl.ItemTemplate> </ItemsControl.ItemTemplate>
</ItemsControl> </ItemsControl>
</ScrollViewer> </ScrollViewer>
</Grid> </Grid>