Skip to content

Commit

Permalink
Re-enable ability to select frames by right-clicking
Browse files Browse the repository at this point in the history
and make sure frame is selected before the menu opens.
  • Loading branch information
MrStevns committed Apr 5, 2021
1 parent 0d9895f commit 545d052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core_lib/src/interface/timelinecells.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ void TimeLineCells::showCameraMenu(QPoint pos)
mHoldAction->setText(clearMovementDesc.arg(QString::number(nextFrame)));
}

mEasingMenu->exec(pos);
mEasingMenu->popup(pos);
}

void TimeLineCells::drawContent()
Expand Down Expand Up @@ -916,7 +916,7 @@ void TimeLineCells::mousePressEvent(QMouseEvent* event)
// Select a range from the last selected
currentLayer->extendSelectionTo(frameNumber);
}
else if (event->button() == Qt::LeftButton)
else
{
currentLayer->toggleFrameSelected(frameNumber, false);
}
Expand Down

0 comments on commit 545d052

Please sign in to comment.