New: This adds the CSS dictionaries to the description of the color (#2911)

This commit is contained in:
Didier Korthoudt
2020-09-11 08:55:10 +02:00
committed by GitHub
parent 1e1e6456cd
commit c30464ee77
+3
View File
@@ -800,6 +800,9 @@ url("data:image/png;base64,BASE64ENCODEDDATA") // if there is a pattern image
var description = [super description],
patternImage = [self patternImage];
if ([self isCSSBased])
return description + "\n" + [self cssDictionary]+ "\nBefore:\n" + [self cssBeforeDictionary] + "\nAfter:\n" + [self cssAfterDictionary];
if (!patternImage)
return description + " " + [self cssString];