diff --git a/app/src/main/java/com/codigoparallevar/minicards/parts/logic/Ticker.java b/app/src/main/java/com/codigoparallevar/minicards/parts/logic/Ticker.java index fae0d63..7718fe6 100644 --- a/app/src/main/java/com/codigoparallevar/minicards/parts/logic/Ticker.java +++ b/app/src/main/java/com/codigoparallevar/minicards/parts/logic/Ticker.java @@ -111,19 +111,18 @@ public class Ticker implements Part { @Override public void draw(ScrolledCanvas canvas, boolean devMode) { - Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); - paint.setColor(Color.GRAY); - if (devMode){ drawConnector(canvas); drawWires(canvas, devMode); + + Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); + paint.setColor(Color.GRAY); + + canvas.drawRect( + new Rect(_left, _top, + _right, _bottom), + paint); } - - - canvas.drawRect( - new Rect(_left, _top, - _right, _bottom), - paint); } private void drawConnector(ScrolledCanvas canvas) {