Skip to content

Commit

Permalink
Fix issue where selection indicator was placed wrongly (#5010)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelwgn authored Jun 8, 2021
1 parent 41c5a47 commit 1731fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/ColorPicker/ColorSpectrum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ void ColorSpectrum::UpdateEllipse()
// we inverted the direction of that axis in order to put more hue on the outside of the ring,
// so we need to do similarly here when positioning the ellipse.
if (m_componentsFromLastBitmapCreation == winrt::ColorSpectrumComponents::HueSaturation ||
m_componentsFromLastBitmapCreation == winrt::ColorSpectrumComponents::ValueHue)
m_componentsFromLastBitmapCreation == winrt::ColorSpectrumComponents::SaturationHue)
{
sThetaValue = 360 - sThetaValue;
sRValue = -sRValue - 1;
Expand Down

0 comments on commit 1731fea

Please sign in to comment.