mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57: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 int colorIdx = 0;
|
||||||
private FormattedText label = null;
|
private FormattedText label = null;
|
||||||
|
|
||||||
|
public Avatar() {
|
||||||
|
SetValue(RenderOptions.BitmapScalingModeProperty, BitmapScalingMode.HighQuality);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 渲染实现
|
/// 渲染实现
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in a new issue