Skip to content

Commit 7e30ab3

Browse files
committed
Fixed SVG exporter RGB normalization.
1 parent 5e81d72 commit 7e30ab3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extras/SVGExporter/SVGExporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@
699699

700700
p._getHex = function(val) {
701701
val = this._normalizeVal(Math.round(val),255);
702-
return (val < 10 ? "0" : "")+val.toString(16);
702+
return (val < 16 ? "0" : "")+val.toString(16);
703703
};
704704

705705
p._hslToRgb = function(vals){

0 commit comments

Comments
 (0)