better transition labelling in effect controls

This commit is contained in:
itsmattkc
2019-03-15 12:55:28 +11:00
parent 1f21fdac8a
commit f1bc01ec72
4 changed files with 45 additions and 5 deletions
+9
View File
@@ -102,6 +102,15 @@ bool Clip::IsActiveAt(long timecode)
&& timecode - timeline_in(true) + clip_in(true) < media_length();
}
bool Clip::IsSelected(bool containing)
{
if (this->sequence == nullptr) {
return false;
}
return this->sequence->IsClipSelected(this, containing);
}
const QColor &Clip::color()
{
return color_;