Shell icon indicating copy to clipboard operation
Shell copied to clipboard

Context menu's corners are not anti-aliased and have no outside stroke.

Open tobyisawesome opened this issue 2 years ago • 1 comments

image As you can see from the screenshot. the context menu has jagged edges due to the lack of anti-aliasing. image This is a screenshot of the Command Bar Flyout from WinUI 3. Unlike the context menu currently in Shell, it has an outside stroke of #000000 at 20% opacity in Dark mode, and in Light mode, it has an outside stroke of #000000 at 5.78% opacity.

tobyisawesome avatar Jan 28 '23 06:01 tobyisawesome

Shown with only the blur and acrylic effect because this function SetWindowRgn is used to change the corners of the menu window and it does not support anti-aliased. It will be replaced in the future with special functions capable of smoothing the edges of the corner.

moudey avatar Jan 28 '23 09:01 moudey