Commit b0fc4958 by Aaron Leung

Fixing the implementation of adjust-hue.

parent f0f9eab1
......@@ -155,7 +155,7 @@ namespace Sass {
else h = (r == m ? 3.0 + g2 : 5.0 - r2);
h /= 6.0;
return new_Node("", 0, h, s, l);
return new_Node("", 0, static_cast<int>(h*360)%360, s*100, l*100);
}
// Function_Descriptor adjust_color_descriptor =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment