mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[AOT] Fix rounded corners black edges (#19615)
* [AOT] Fix rounded corners black edges Enable antialiasing for render target * Update expect.txt
This commit is contained in:
1
.github/actions/spell-check/expect.txt
vendored
1
.github/actions/spell-check/expect.txt
vendored
@@ -52,6 +52,7 @@ Andreanof
|
|||||||
anges
|
anges
|
||||||
angularsen
|
angularsen
|
||||||
ansicolor
|
ansicolor
|
||||||
|
antialias
|
||||||
ANull
|
ANull
|
||||||
AOC
|
AOC
|
||||||
aocfnapldcnfbofgmbbllojgocaelgdd
|
aocfnapldcnfbofgmbbllojgocaelgdd
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ bool FrameDrawer::CreateRenderTargets(const RECT& clientRect)
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_renderTarget->SetAntialiasMode(D2D1_ANTIALIAS_MODE_ALIASED);
|
||||||
m_renderTargetSizeHash = rectHash;
|
m_renderTargetSizeHash = rectHash;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user