mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 06:53:37 +00:00
save/load markers in setup
This commit is contained in:
parent
9ad8def2ea
commit
8d382e8b9c
9 changed files with 229 additions and 28 deletions
|
|
@ -465,6 +465,11 @@ void TraceXYPlot::draw(QPainter &p)
|
|||
xPosition = m->getPosition();
|
||||
// }
|
||||
if (xPosition < XAxis.rangeMin || xPosition > XAxis.rangeMax) {
|
||||
// marker not in graph range
|
||||
continue;
|
||||
}
|
||||
if(xPosition < t->minX() || xPosition > t->maxX()) {
|
||||
// marker not in trace range
|
||||
continue;
|
||||
}
|
||||
auto t = m->getTrace();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue