timeline: show transition tool overlay
This commit is contained in:
@@ -1076,6 +1076,8 @@ void TimelineWidget::ViewTimestampChanged(int64_t ts)
|
||||
void TimelineWidget::ToolChanged()
|
||||
{
|
||||
HideSnaps();
|
||||
SetViewBeamCursor(TimelineCoordinate(0, Track::kNone, -1));
|
||||
SetViewTransitionOverlay(nullptr, nullptr);
|
||||
}
|
||||
|
||||
void TimelineWidget::SetViewWaveformsEnabled(bool e)
|
||||
@@ -1147,6 +1149,13 @@ void TimelineWidget::SetViewBeamCursor(const TimelineCoordinate &coord)
|
||||
}
|
||||
}
|
||||
|
||||
void TimelineWidget::SetViewTransitionOverlay(ClipBlock *out, ClipBlock *in)
|
||||
{
|
||||
foreach (TimelineAndTrackView* tview, views_) {
|
||||
tview->view()->SetTransitionOverlay(out, in);
|
||||
}
|
||||
}
|
||||
|
||||
void TimelineWidget::SetBlockLinksSelected(Block* block, bool selected)
|
||||
{
|
||||
foreach (Block* link, block->block_links()) {
|
||||
|
||||
Reference in New Issue
Block a user