Merge "Incorrect chromas for color roles that are using the neutral palette " into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bb1953c71c
@@ -32,7 +32,7 @@ public class SchemeTonalSpot extends DynamicScheme {
|
||||
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 16.0),
|
||||
TonalPalette.fromHueAndChroma(
|
||||
MathUtils.sanitizeDegreesDouble(sourceColorHct.getHue() + 60.0), 24.0),
|
||||
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 4.0),
|
||||
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 6.0),
|
||||
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 8.0));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user