diff --git a/src/com/lushprojects/circuitjs1/client/AndGateElm.java b/src/com/lushprojects/circuitjs1/client/AndGateElm.java index dc199167..5cbc609a 100644 --- a/src/com/lushprojects/circuitjs1/client/AndGateElm.java +++ b/src/com/lushprojects/circuitjs1/client/AndGateElm.java @@ -31,7 +31,7 @@ public AndGateElm(int xa, int ya, int xb, int yb, int f, String getGateText() { return "&"; } public final native void ellipse(Context2d g, double x, double y, double rx, double ry, double ro, double sa, double ea, boolean ccw) /*-{ - g.ellipse(x, y, rx, ry, ro, sa, ea, ccw); + if (rx >= 0 && ry >= 0) g.ellipse(x, y, rx, ry, ro, sa, ea, ccw); }-*/; void drawGatePolygon(Graphics g) {