mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
fixed color's to_string method since alpha seems to no longer be parsed as a double. serializing a color to xml and deserializing it back did not work before
This commit is contained in:
parent
aea5dd563a
commit
2d601f1bd7
@ -50,7 +50,7 @@ namespace mapnik {
|
||||
<< red() << ","
|
||||
<< green() << ","
|
||||
<< blue() << ","
|
||||
<< alpha()/255.0 << ")";
|
||||
<< alpha() << ")";
|
||||
}
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user