Skip to content

Commit

Permalink
Correctly draw point to match
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed Jan 31, 2014
1 parent a2d412e commit 1a2bba0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions logixsim/src/ts/logix/gui/LSGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -468,11 +468,10 @@ private static void gui_ls(LogixSystem ls) {

protected static void drawPos(Graphics g, Positionable p) {
if (p instanceof PPyPoint) {
System.err.println(p);
PPyPoint point = (PPyPoint) p;
g.setColor(PointSys.readConnection(point.point).isEmpty() ? Color.GRAY
: Color.GREEN);
g.fillOval(p.getX(), p.getY(), 5, 5);
g.fillOval(p.getX(), p.getY(), 7, 7);
}
}

Expand Down

0 comments on commit 1a2bba0

Please sign in to comment.