fix: css faster color parsing

This commit is contained in:
Martin Guillon
2021-08-07 15:14:24 +02:00
parent e2f579aa1b
commit 2005bd5927
2 changed files with 19 additions and 68 deletions

View File

@ -22,7 +22,7 @@ export class LinearGradient {
}
return {
color: new Color(color.argb),
color: color.color,
offset: offsetUnit,
};
});