timeline: tools don't need to call move in the release function

I had thought that the cursor may still have moved between the last
mouseMoveEvent and the mouseReleaseEvent, but that turns out to be false
making it completely unnecessary to call move functions in the release
function.
This commit is contained in:
itsmattkc
2020-07-23 01:29:04 +10:00
parent ce353ccbed
commit c76b25a17a
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -89,8 +89,6 @@ void TimelineWidget::AddTool::MouseMove(TimelineViewMouseEvent *event)
void TimelineWidget::AddTool::MouseRelease(TimelineViewMouseEvent *event)
{
MouseMove(event);
const TrackReference& track = ghost_->Track();
if (ghost_) {
@@ -106,8 +106,6 @@ void TimelineWidget::TransitionTool::MouseMove(TimelineViewMouseEvent *event)
void TimelineWidget::TransitionTool::MouseRelease(TimelineViewMouseEvent *event)
{
MouseMove(event);
const TrackReference& track = ghost_->Track();
if (ghost_) {