mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
Remove full screen redraw on scale/ref/trace change.
This commit is contained in:
parent
e383b53f5a
commit
e2f2b58925
6
main.c
6
main.c
|
|
@ -1703,7 +1703,7 @@ void set_trace_type(int t, int type)
|
||||||
}
|
}
|
||||||
if (force) {
|
if (force) {
|
||||||
plot_into_index(measured);
|
plot_into_index(measured);
|
||||||
force_set_markmap();
|
// force_set_markmap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1711,7 +1711,7 @@ void set_trace_channel(int t, int channel)
|
||||||
{
|
{
|
||||||
if (trace[t].channel != channel) {
|
if (trace[t].channel != channel) {
|
||||||
trace[t].channel = channel;
|
trace[t].channel = channel;
|
||||||
force_set_markmap();
|
// force_set_markmap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1719,7 +1719,7 @@ void set_trace_scale(int t, float scale)
|
||||||
{
|
{
|
||||||
if (trace[t].scale != scale) {
|
if (trace[t].scale != scale) {
|
||||||
trace[t].scale = scale;
|
trace[t].scale = scale;
|
||||||
force_set_markmap();
|
// force_set_markmap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue