Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix carry-forward of missing components for color mixing
Color::CarryForwardAnalogousMissingComponents() was operating on a copy of the Color, meaning that it was essentially a no-op. With that fixed it would however also clear any 'none' values that was introduced by the process of conversion. Split carry-forward handling to have a step before the conversion that determines which 'none' values to carry-forward and arrange them for the interpolation space, and one step after that simply applies the 'none' values determined by the pre-step. Fixed: 387132019 Change-Id: I4f678261082984a1002d6bf7db75cc4eeb17a026 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6258092 Auto-Submit: Fredrik Söderquist <fs@opera.com> Commit-Queue: Aaron Krajeski <aaronhk@chromium.org> Reviewed-by: Aaron Krajeski <aaronhk@chromium.org> Cr-Commit-Position: refs/heads/main@{#1421959}
- Loading branch information