mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-09 00:13:59 +00:00
Fix artifacts after marker move
(For faster screen update on marker move, all old area update info invalidate after use draw_all_cells(TRUE) on page switch) Force redraw all cells after end marker move
This commit is contained in:
parent
eebb625b9d
commit
3714e05395
2 changed files with 5 additions and 0 deletions
4
plot.c
4
plot.c
|
|
@ -1383,6 +1383,8 @@ draw_all(bool flush)
|
|||
draw_cal_status();
|
||||
if (redraw_request & REDRAW_BATTERY)
|
||||
draw_battery_status();
|
||||
if (redraw_request & REDRAW_AREA)
|
||||
force_set_markmap();
|
||||
redraw_request = 0;
|
||||
}
|
||||
|
||||
|
|
@ -1398,6 +1400,8 @@ redraw_marker(int marker)
|
|||
markmap_upperarea();
|
||||
|
||||
draw_all_cells(TRUE);
|
||||
// Fores redraw all area after (disable artefacts after fast marker update area)
|
||||
redraw_request|=REDRAW_AREA;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue