mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-01 01:14:59 +00:00
fix: memory leak caused by animation
This commit is contained in:
parent
8ae864a14d
commit
b6e087259b
7 changed files with 50 additions and 28 deletions
|
@ -106,12 +106,10 @@
|
|||
BorderThickness="1,0,0,0"
|
||||
BorderBrush="{DynamicResource Brush.Border2}"/>
|
||||
|
||||
<Path Grid.Column="2"
|
||||
Classes="rotating"
|
||||
Width="48" Height="48"
|
||||
Data="{DynamicResource Icons.Loading}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
IsVisible="{Binding IsLoading}"/>
|
||||
<v:LoadingIcon Grid.Column="2"
|
||||
Width="48" Height="48"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
IsVisible="{Binding IsLoading}"/>
|
||||
|
||||
<Grid Grid.Column="2" RowDefinitions="*,3,*" Margin="0,4,4,4" IsVisible="{Binding !IsLoading}">
|
||||
<ContentControl Grid.Row="0" Content="{Binding DiffContext}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue