mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 10:50:52 +08:00
optimize<Avatar>: render avatar using BitmapScalingMode.HighQuality
This commit is contained in:
@@ -78,6 +78,10 @@ namespace SourceGit.Views.Controls {
|
||||
private int colorIdx = 0;
|
||||
private FormattedText label = null;
|
||||
|
||||
public Avatar() {
|
||||
SetValue(RenderOptions.BitmapScalingModeProperty, BitmapScalingMode.HighQuality);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 渲染实现
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user