File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3737 </ItemGroup >
3838
3939 <ItemGroup >
40- <PackageReference Include =" Avalonia" Version =" 11.1.2" />
41- <PackageReference Include =" Avalonia.Desktop" Version =" 11.1.2" />
42- <PackageReference Include =" Avalonia.Themes.Fluent" Version =" 11.1.2" />
43- <PackageReference Include =" Avalonia.Controls.DataGrid" Version =" 11.1.2" />
40+ <PackageReference Include =" Avalonia" Version =" 11.0.13" />
41+ <PackageReference Include =" Avalonia.Desktop" Version =" 11.0.13" />
42+ <PackageReference Include =" Avalonia.Themes.Fluent" Version =" 11.0.13" />
43+ <PackageReference Include =" Avalonia.Controls.DataGrid" Version =" 11.0.13" />
44+ <PackageReference Include =" Avalonia.Diagnostics" Version =" 11.0.13" Condition =" '$(Configuration)' == 'Debug'" />
4445 <PackageReference Include =" Avalonia.AvaloniaEdit" Version =" 11.1.0" />
45- <PackageReference Include =" Avalonia.Diagnostics" Version =" 11.1.2" Condition =" '$(Configuration)' == 'Debug'" />
4646 <PackageReference Include =" AvaloniaEdit.TextMate" Version =" 11.1.0" />
4747 <PackageReference Include =" CommunityToolkit.Mvvm" Version =" 8.2.2" />
4848 <PackageReference Include =" TextMateSharp.Grammars" Version =" 1.0.60" />
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ protected override Size MeasureOverride(Size availableSize)
158158 IsTag = decorator . Type == Models . DecoratorType . Tag ,
159159 } ;
160160
161- var geo = null as StreamGeometry ;
161+ StreamGeometry geo ;
162162 switch ( decorator . Type )
163163 {
164164 case Models . DecoratorType . CurrentBranchHead :
@@ -176,7 +176,7 @@ protected override Size MeasureOverride(Size availableSize)
176176 break ;
177177 }
178178
179- var drawGeo = geo . Clone ( ) ;
179+ var drawGeo = geo ! . Clone ( ) ;
180180 var iconBounds = drawGeo . Bounds ;
181181 var translation = Matrix . CreateTranslation ( - ( Vector ) iconBounds . Position ) ;
182182 var scale = Math . Min ( 8.0 / iconBounds . Width , 8.0 / iconBounds . Height ) ;
You can’t perform that action at this time.
0 commit comments