check if cursor-b is enabled before annotating cursor-b position after descending schematic
This commit is contained in:
parent
07e79908f1
commit
3b104995fc
|
|
@ -2516,7 +2516,9 @@ int descend_schematic(int instnumber, int fallback, int alert, int set_title)
|
|||
Graph_ctx *gr = &xctx->graph_struct;
|
||||
xRect *r = &xctx->rect[GRIDLAYER][0];
|
||||
if(r->flags & 1) {
|
||||
backannotate_at_cursor_b_pos(r, gr);
|
||||
if(xctx->graph_flags & 4) {
|
||||
backannotate_at_cursor_b_pos(r, gr);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue