started zoom tool

This commit is contained in:
itsmattkc
2019-09-19 00:28:38 +10:00
parent cdcfd59ec5
commit a059e9f72b
4 changed files with 61 additions and 1 deletions
+2 -1
View File
@@ -39,6 +39,7 @@ TimelineView::TimelineView(QWidget *parent) :
ripple_tool_(this),
razor_tool_(this),
hand_tool_(this),
zoom_tool_(this),
playhead_(0)
{
setScene(&scene_);
@@ -220,7 +221,7 @@ TimelineView::Tool *TimelineView::GetActiveTool()
case olive::tool::kHand:
return &hand_tool_;
case olive::tool::kZoom:
return nullptr; // FIXME: Implement
return &zoom_tool_;
case olive::tool::kTransition:
return nullptr; // FIXME: Implement
case olive::tool::kRecord: