mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
optimize<Avatar>: render avatar using BitmapScalingMode.HighQuality
This commit is contained in:
parent
ebd4c32690
commit
0419cf96fc
1 changed files with 4 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue