mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
project: downgrade AvaloniaUI to 11.0.13
This commit is contained in:
parent
492859f470
commit
e2da0d3643
2 changed files with 7 additions and 7 deletions
|
@ -158,7 +158,7 @@ namespace SourceGit.Views
|
|||
IsTag = decorator.Type == Models.DecoratorType.Tag,
|
||||
};
|
||||
|
||||
var geo = null as StreamGeometry;
|
||||
StreamGeometry geo;
|
||||
switch (decorator.Type)
|
||||
{
|
||||
case Models.DecoratorType.CurrentBranchHead:
|
||||
|
@ -176,7 +176,7 @@ namespace SourceGit.Views
|
|||
break;
|
||||
}
|
||||
|
||||
var drawGeo = geo.Clone();
|
||||
var drawGeo = geo!.Clone();
|
||||
var iconBounds = drawGeo.Bounds;
|
||||
var translation = Matrix.CreateTranslation(-(Vector)iconBounds.Position);
|
||||
var scale = Math.Min(8.0 / iconBounds.Width, 8.0 / iconBounds.Height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue