File tree Expand file tree Collapse file tree
Round.NET.AvaloniaApp.EncodeCalculator Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99 <Application .Styles>
1010 <StyleInclude Source =" avares://AvaloniaEdit/Themes/Fluent/AvaloniaEdit.xaml" />
11- <styling : FluentAvaloniaTheme />
11+ <styling : FluentAvaloniaTheme PreferUserAccentColor = " True " CustomAccentColor = " HotPink " />
1212 </Application .Styles>
1313 <TrayIcon .Icons>
1414 <TrayIcons >
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ public MainWindow()
2929 TaskCore . InitTaskCore ( ) ;
3030
3131 InitializeComponent ( ) ;
32+ RenderOptions . SetTextRenderingMode ( this , TextRenderingMode . SubpixelAntialias ) ; // 字体渲染模式
33+ RenderOptions . SetBitmapInterpolationMode ( this , BitmapInterpolationMode . MediumQuality ) ; // 图片渲染模式
34+ RenderOptions . SetEdgeMode ( this , EdgeMode . Antialias ) ; // 形状渲染模式
3235 if ( Config . MainConfig . AutomaticUpdates )
3336 {
3437 UpdateFunc ( ) ;
You can’t perform that action at this time.
0 commit comments