From 17d00acaa6444b6b0ae55d630c945780cb578909 Mon Sep 17 00:00:00 2001 From: hneemann Date: Sat, 25 Feb 2017 15:54:57 +0100 Subject: [PATCH] Made the pull-up shape consistent with the Vdd shape. --- .../java/de/neemann/digital/draw/shapes/PullUpShape.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/neemann/digital/draw/shapes/PullUpShape.java b/src/main/java/de/neemann/digital/draw/shapes/PullUpShape.java index d3783120d..78488c7ca 100644 --- a/src/main/java/de/neemann/digital/draw/shapes/PullUpShape.java +++ b/src/main/java/de/neemann/digital/draw/shapes/PullUpShape.java @@ -55,12 +55,12 @@ public class PullUpShape implements Shape { Style.NORMAL ); int o = 4; - graphic.drawLine(new Vector(0, -SIZE), new Vector(0, -SIZE - SIZE2 - o), Style.NORMAL); + graphic.drawLine(new Vector(0, -SIZE), new Vector(0, -SIZE - SIZE - o), Style.NORMAL); graphic.drawPolygon( - new Polygon(true) + new Polygon(false) .add(-SIZE2, -SIZE - SIZE2 - o) - .add(SIZE2, -SIZE - SIZE2 - o) - .add(0, -SIZE - o - SIZE2 - SIZE * 2 / 3), + .add(0, -SIZE - o - SIZE2 - SIZE * 2 / 3) + .add(SIZE2, -SIZE - SIZE2 - o), Style.NORMAL ); }