mirror of https://github.com/rusefi/jzy3d-api.git
avoid having colorbars without background color
This commit is contained in:
parent
551018e9bb
commit
905a61884e
|
@ -23,7 +23,7 @@ public class AWTColorbarLegend extends AWTLegend implements IColorbarLegend {
|
|||
}
|
||||
|
||||
public AWTColorbarLegend(AbstractDrawable parent, IAxeLayout layout) {
|
||||
this(parent, layout.getZTickProvider(), layout.getZTickRenderer(), layout.getMainColor(), null);
|
||||
this(parent, layout.getZTickProvider(), layout.getZTickRenderer(), layout.getMainColor(), layout.getMainColor().negative());
|
||||
}
|
||||
|
||||
public AWTColorbarLegend(AbstractDrawable parent, IAxeLayout layout, Color foreground) {
|
||||
|
|
Loading…
Reference in New Issue