use layer 4 instead of 5 for symbol bounding-box-only view

This commit is contained in:
Stefan Schippers 2020-09-07 23:02:30 +02:00
parent 79a56a99f5
commit a9013fc4d9
1 changed files with 1 additions and 1 deletions

View File

@ -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 */