Skip to content

Commit

Permalink
Adapt to change in core module.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Feb 13, 2021
1 parent 5f82711 commit bda7085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/sf/carte/doc/style/css/awt/AWTHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static Color getAWTColor(CSSTypedValue cssColor) throws CSSPropertyValueE
if (cssColor != null) {
switch (cssColor.getPrimitiveType()) {
case COLOR:
RGBAColor color = cssColor.toRGBColorValue();
RGBAColor color = cssColor.toRGBColor();
CSSPrimitiveValue red = color.getRed();
CSSPrimitiveValue green = color.getGreen();
CSSPrimitiveValue blue = color.getBlue();
Expand Down

0 comments on commit bda7085

Please sign in to comment.