line.lineTo(maxX, ny);
line.moveTo(x, y);
} else {
- line.lineTo(x, y);
+ if (x != currentX || y != currentY) {
+ line.lineTo(x, y);
+ }
}
}
}
}
- lineTo(x2, y2);
+ if (flat)
+ lineTo(x2, y2);
// if(showBand) {
// lineTo(x2, y2);
}
// Binary signal
- if (item.renderer == Renderer.Binary) {
+ else if (item.renderer == Renderer.Binary) {
byte value = 0;
if (vb.getValueBinding() instanceof BooleanBinding) {
value = ((Boolean) vb.getValue(Bindings.BOOLEAN)) ? (byte)0 : (byte)1;