timeline: added ability to move clips by sample in addition to by frame

This commit is contained in:
itsmattkc
2020-04-01 13:55:19 +11:00
parent 061f7ac20d
commit 76f260cb3a
7 changed files with 127 additions and 21 deletions
+2 -2
View File
@@ -401,9 +401,9 @@ void TimelineWidget::PointerTool::ProcessDrag(const TimelineCoordinate &mouse_po
// Show tooltip
// Generate tooltip (showing earliest in point of imported clip)
int64_t earliest_timestamp = Timecode::time_to_timestamp(time_movement, parent()->timebase());
int64_t earliest_timestamp = Timecode::time_to_timestamp(time_movement, parent()->GetToolTipTimebase());
QString tooltip_text = Timecode::timestamp_to_timecode(earliest_timestamp,
parent()->timebase(),
parent()->GetToolTipTimebase(),
Core::instance()->GetTimecodeDisplay(),
true);