mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 14:43:30 +02:00
2021-12-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'Edit Audio' dialog that made it impossible to add a Fade Down marker near the end of the audio when the waveform was fully zoomed in. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
edc226f99b
commit
1bf266a6cf
@ -22851,3 +22851,7 @@
|
||||
2021-12-28 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a spelling error in the 'Insufficient Privileges' dialog
|
||||
in rdadmin(1).
|
||||
2021-12-28 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in the 'Edit Audio' dialog that made it impossible
|
||||
to add a Fade Down marker near the end of the audio when the
|
||||
waveform was fully zoomed in.
|
||||
|
@ -1148,7 +1148,9 @@ int RDMarkerView::Frame(int msec) const
|
||||
|
||||
int RDMarkerView::Msec(int frame) const
|
||||
{
|
||||
return (int)((int64_t)frame*d_shrink_factor*1152000/(int64_t)d_sample_rate);
|
||||
return ((int64_t)d_view->horizontalScrollBar()->value()*
|
||||
d_shrink_factor*1152000/(int64_t)d_sample_rate)+
|
||||
((int64_t)frame*d_shrink_factor*1152000/(int64_t)d_sample_rate);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user