File tree Expand file tree Collapse file tree 1 file changed +0
-1
lines changed
Microsoft.Toolkit.Uwp.UI.Controls/ColorPicker Expand file tree Collapse file tree 1 file changed +0
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,6 @@ private bool UseLightContrastColor(Color displayedColor)
109109 // If the third dimension is value, then we won't be updating the spectrum's displayed colors,
110110 // so in that case we should use a value of 1 when considering the backdrop
111111 // for the selection ellipse.
112-
113112 double rg = displayedColor . R <= 10 ? displayedColor . R / 3294.0 : Math . Pow ( ( displayedColor . R / 269.0 ) + 0.0513 , 2.4 ) ;
114113 double gg = displayedColor . G <= 10 ? displayedColor . G / 3294.0 : Math . Pow ( ( displayedColor . G / 269.0 ) + 0.0513 , 2.4 ) ;
115114 double bg = displayedColor . B <= 10 ? displayedColor . B / 3294.0 : Math . Pow ( ( displayedColor . B / 269.0 ) + 0.0513 , 2.4 ) ;
You can’t perform that action at this time.
0 commit comments