Skip to content

Commit

Permalink
Fixed slow dragging in timeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Feb 28, 2024
1 parent 61abb66 commit 0cc5168
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions mrv2/docs/HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ v1.0.7
viewport.
- Added GBR8/9/10/12 reading support for VPX.
- Fixed start and end timeline buttons not refreshing thumbnails in the Panels.
- Fixed seeking not updating the thumbnails in the Panels.
- Fixed image panel not refreshing its information when changing images and
the playback was stopped.
- Fixed Preferences->Positioning->Position/Size when both were used.
Expand Down
5 changes: 2 additions & 3 deletions mrv2/lib/mrvFl/mrvTimelinePlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ namespace mrv
{
_p->isStepping = false;
// Send a seek request to make sure we are at the right time
seek(currentTime());
pushMessage("seek", currentTime());
panel::redrawThumbnails();
}
}

Expand Down Expand Up @@ -376,8 +377,6 @@ namespace mrv
{
pushMessage("seek", value);
_p->player->seek(value);
if (playback() == timeline::Playback::Stop)
panel::redrawThumbnails();
if (timelineViewport)
timelineViewport->updateUndoRedoButtons();
}
Expand Down
6 changes: 1 addition & 5 deletions mrv2/lib/mrvGL/mrvTimelineViewportEvents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -996,11 +996,7 @@ namespace mrv
return 0;
auto player = p.timelinePlayers[0];
player->setPlayback(p.playbackMode);

if (panel::filesPanel)
panel::filesPanel->redraw();
if (panel::comparePanel)
panel::comparePanel->redraw();
panel::redrawThumbnails();
}
else
{
Expand Down

0 comments on commit 0cc5168

Please sign in to comment.