2025-07-04 Fred Gleason <fredg@paravelsystems.com>

* 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.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2025-07-04 12:53:45 -04:00
parent 745e4e153f
commit 4a4dc6bbd1
2 changed files with 5 additions and 1 deletions

View File

@ -25021,3 +25021,7 @@
Web API call.
2025-07-03 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 4.3.0int13.
2025-07-04 Fred Gleason <fredg@paravelsystems.com>
* 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.

View File

@ -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()));
}