fix: comment around color adjusters (#4595)
parent
8a67378f97
commit
dc5de053c4
|
@ -542,8 +542,8 @@ function genericPrint(path, options, print) {
|
|||
continue;
|
||||
}
|
||||
|
||||
// Print spaces after `+` and `-` in color adjuster functions as is (i.e. `color(red l(+ 20%))`)
|
||||
// Invalid syntax (i.e. `color(red l(+20%))`) output as is
|
||||
// Print spaces after `+` and `-` in color adjuster functions as is (e.g. `color(red l(+ 20%))`)
|
||||
// Adjusters with signed numbers (e.g. `color(red l(+20%))`) output as-is.
|
||||
const isColorAdjusterNode =
|
||||
(isAdditionNode(iNode) || isSubtractionNode(iNode)) &&
|
||||
i === 0 &&
|
||||
|
|
Loading…
Reference in New Issue