diff --git a/tuner.cpp b/tuner.cpp index 9e9bfa7..521ee55 100644 --- a/tuner.cpp +++ b/tuner.cpp @@ -50,6 +50,9 @@ void Tuner::cursorMoved() // Limit deviation range to half of total BW (either side of centre) auto deviationRange = range_t{2, height / 2}; _deviation = deviationRange.clip(std::abs(sender->pos() - cfCursor->pos())); + } else { + auto cfRange = range_t{_deviation, height - _deviation}; + sender->setPos(cfRange.clip(sender->pos())); } updateCursors();