From a9013fc4d984fc4fd7e8666b8a5f4d4e46b0bba2 Mon Sep 17 00:00:00 2001 From: Stefan Schippers Date: Mon, 7 Sep 2020 23:02:30 +0200 Subject: [PATCH] use layer 4 instead of 5 for symbol bounding-box-only view --- src/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw.c b/src/draw.c index 043f3356..f679c646 100644 --- a/src/draw.c +++ b/src/draw.c @@ -481,7 +481,7 @@ void draw_symbol(int what,int c, int n,int layer,int tmp_flip, int rot, hide = 0; } if(hide && layer == 0) { - drawrect(PINLAYER, what, inst_ptr[n].xx1, inst_ptr[n].yy1, inst_ptr[n].xx2, inst_ptr[n].yy2, 2); + drawrect(4, what, inst_ptr[n].xx1, inst_ptr[n].yy1, inst_ptr[n].xx2, inst_ptr[n].yy2, 2); } if(layer==0) { x1=X_TO_SCREEN(inst_ptr[n].x1+xoffset); /* 20150729 added xoffset, yoffset */