Skip to content

Commit

Permalink
Fix the output space for color.changeChannels() (#2119)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Oct 17, 2023
1 parent 5b3de08 commit c848cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/value/color.dart
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ class SassColor extends Value {
if (space != null && space != this.space) {
return toSpace(space)
.changeChannels(newValues, colorName: colorName)
.toSpace(space);
.toSpace(this.space);
}

double? new0;
Expand Down

0 comments on commit c848cb4

Please sign in to comment.