Don't show logic elements outside dev mode.
This commit is contained in:
parent
168ed17fb2
commit
bddc4f64a8
@ -111,20 +111,19 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
private void drawConnector(ScrolledCanvas canvas) {
|
||||
Paint connectorPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
|
||||
|
Loading…
Reference in New Issue
Block a user