diff --git a/FModel/Creator/Bases/UCreator.cs b/FModel/Creator/Bases/UCreator.cs index 3c288df6..fb4e56ef 100644 --- a/FModel/Creator/Bases/UCreator.cs +++ b/FModel/Creator/Bases/UCreator.cs @@ -131,11 +131,7 @@ namespace FModel.Creator.Bases } protected void DrawPreview(SKCanvas c) - { - var i = Preview ?? DefaultPreview; - var x = i.Width < Width ? Width / 2 - i.Width / 2 : Margin; - c.DrawBitmap(i, new SKRect(x, Margin, x + i.Width - Margin * 2, i.Height - Margin), ImagePaint); - } + => c.DrawBitmap(Preview ?? DefaultPreview, new SKRect(Margin, Margin, Width - Margin, Height - Margin), ImagePaint); protected void DrawTextBackground(SKCanvas c) { @@ -231,4 +227,4 @@ namespace FModel.Creator.Bases } } } -} \ No newline at end of file +}