Commit bac847b6 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix timeline duration offset of -1 frame

parent df1b8395
......@@ -2234,7 +2234,7 @@ void MainWindow::slotUpdateMousePosition(int pos, int duration)
{
if (pCore->currentDoc()) {
if (duration < 0) {
duration = getMainTimeline()->controller()->duration() - 1;
duration = getMainTimeline()->controller()->duration();
}
if (pos >= 0) {
m_mousePosition = pos;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment