Skip to content

Commit

Permalink
Make sure to set an alpha channel during ColorRefToColor (#3669)
Browse files Browse the repository at this point in the history
Fixes #3664.
  • Loading branch information
DHowett committed Nov 22, 2019
1 parent 2b1a35a commit 171f00c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cascadia/WinRTUtils/inc/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
inline winrt::Windows::UI::Color ColorRefToColor(const COLORREF& colorref)
{
winrt::Windows::UI::Color color;
color.A = 255;
color.R = GetRValue(colorref);
color.G = GetGValue(colorref);
color.B = GetBValue(colorref);
Expand Down

0 comments on commit 171f00c

Please sign in to comment.