mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-01-17 06:02:14 +01:00
replot trace plot when moving marker
This commit is contained in:
parent
56de3dca11
commit
8c44a8de2d
|
|
@ -466,6 +466,7 @@ void TracePlot::mouseMoveEvent(QMouseEvent *event)
|
|||
auto trace = selectedMarker->getTrace();
|
||||
selectedMarker->setPosition(nearestTracePoint(trace, clickPoint));
|
||||
cursorLabel->hide();
|
||||
triggerReplot();
|
||||
} else if(movingGraph) {
|
||||
move(clickPoint - lastMousePoint);
|
||||
lastMousePoint = clickPoint;
|
||||
|
|
|
|||
Loading…
Reference in a new issue