diff --git a/ChangeLog b/ChangeLog index 4bdaf139..113c7ea4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25021,3 +25021,7 @@ Web API call. 2025-07-03 Fred Gleason * Incremented the package version to 4.3.0int13. +2025-07-04 Fred Gleason + * Fixed a bug in the 'Edit Audio' dialog in rdlibrary(1) that caused + a marker to be removed from the view if it was dragged beyond the + left hand edge of the view. diff --git a/lib/rdmarkerview.cpp b/lib/rdmarkerview.cpp index bc194188..bc9ed387 100644 --- a/lib/rdmarkerview.cpp +++ b/lib/rdmarkerview.cpp @@ -206,7 +206,7 @@ void RDMarkerHandle::mouseMoveEvent(QGraphicsSceneMouseEvent *e) } if(limit_ptr<0) { // Generate new pointer value - int64_t pframes=(int64_t)(1152*x*view->shrinkFactor()); + int64_t pframes=(int64_t)(1152*(x+1)*view->shrinkFactor()); view->updatePosition(d_role,(int)((int64_t)1000*pframes/ (int64_t)view->sampleRate())); }