check if cursor-b is enabled before annotating cursor-b position after descending schematic

This commit is contained in:
stefan schippers 2025-08-21 20:49:57 +02:00
parent 07e79908f1
commit 3b104995fc
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}
}
}
}