reimplemented rectangle selection

This commit is contained in:
itsmattkc
2019-04-04 03:07:04 +11:00
parent 673bcc0bf7
commit e708791e90
3 changed files with 35 additions and 28 deletions
+2 -1
View File
@@ -261,11 +261,12 @@ bool Track::IsTransitionSelected(Transition *t)
void Track::SelectArea(long in, long out)
{
selections_.append(Selection(in, out, this));
Selection::Tidy(selections_);
}
void Track::SelectClip(Clip* c)
{
selections_.append(Selection(c->timeline_in(), c->timeline_out(), this));
SelectArea(c->timeline_in(), c->timeline_out());
}
void Track::SelectAll()