Skip to content

Commit

Permalink
Merge pull request #2339 from Firethunder/fixes/roundrectborder
Browse files Browse the repository at this point in the history
fix for background color regression in RoundRectBorder
  • Loading branch information
shai-almog authored Feb 15, 2018
2 parents efba4c3 + 352d42e commit 1e195d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CodenameOne/src/com/codename1/ui/plaf/RoundRectBorder.java
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ private Image createTargetImage(Component c, int w, int h, boolean fast) {
byte bgt = c.getStyle().getBgTransparency();
if(bgt != 0) {
tg.setAlpha(bgt &0xff);
tg.setColor(s.getBgColor());
tg.fillShape(gp);
}
if(this.stroke != null && strokeOpacity > 0 && strokeThickness > 0) {
Expand Down

0 comments on commit 1e195d0

Please sign in to comment.