Skip to content

Commit

Permalink
smaller wire value font size
Browse files Browse the repository at this point in the history
  • Loading branch information
hneemann committed Jun 4, 2017
1 parent d17cb3d commit 0cdcba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/de/neemann/digital/draw/graphics/Style.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class Style {
/**
* Used to draw the pin description text
*/
public static final Style WIRE_VALUE = new Style(LINETHICK, false, new Color(50, 162, 50), 18, null);
public static final Style WIRE_VALUE = new Style(LINETHICK, false, new Color(50, 162, 50), 12, null);
/**
* highlight color used for the circles to mark an element
*/
Expand Down Expand Up @@ -186,7 +186,7 @@ public float[] getDash() {
*/
public static Style getWireStyle(ObservableValue value) {
if (value == null) return WIRE;
if (value.getBits()>1) return WIRE_BUS;
if (value.getBits() > 1) return WIRE_BUS;
if (value.isHighZ()) return WIRE_HIGHZ;

if (value.getValueIgnoreBurn() == 1) return WIRE_HIGH;
Expand Down

0 comments on commit 0cdcba2

Please sign in to comment.