mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
ux: set RenderOptions.BitmapInterpolationMode = BitmapInterpolationMode.HighQuality for avatars
This commit is contained in:
parent
416b839df5
commit
a8d06ce042
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@ using Avalonia;
|
|||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Avalonia.Media;
|
||||
using Avalonia.Media.Imaging;
|
||||
|
||||
namespace SourceGit.Views
|
||||
{
|
||||
|
@ -48,6 +49,8 @@ namespace SourceGit.Views
|
|||
|
||||
ContextMenu = new ContextMenu();
|
||||
ContextMenu.Items.Add(refetch);
|
||||
|
||||
RenderOptions.SetBitmapInterpolationMode(this, BitmapInterpolationMode.HighQuality);
|
||||
}
|
||||
|
||||
public override void Render(DrawingContext context)
|
||||
|
|
Loading…
Reference in a new issue