mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-05 14:35:50 +00:00
ui: enable and all off in marker selection
This commit is contained in:
parent
36c1d79e3c
commit
b823a8060d
3 changed files with 15 additions and 16 deletions
2
plot.c
2
plot.c
|
|
@ -1291,7 +1291,7 @@ cell_draw_marker_info(int m, int n, int w, int h)
|
|||
cell_drawstring_5x7(w, h, buf, xpos, ypos, 0xffff);
|
||||
|
||||
// draw marker delta
|
||||
if (active_marker != previous_marker && markers[previous_marker].enabled) {
|
||||
if (previous_marker >= 0 && active_marker != previous_marker && markers[previous_marker].enabled) {
|
||||
int idx0 = markers[previous_marker].index;
|
||||
xpos = 192;
|
||||
xpos -= m * CELLWIDTH -CELLOFFSETX;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue