summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-01-09 01:35:59 +0100
committerCarl Hetherington <cth@carlh.net>2026-01-09 01:35:59 +0100
commit1b4ad92e7e61a56487fbc68b21e60dbd95795561 (patch)
tree7e3a702411ee85a411eb8a574b6a6264def26487 /src/wx
parent0a407141a823a3b3e690df614d886a425071be1d (diff)
Use inaccurate seek when clicking in the timeline, like we do with the slider.
Otherwise sometimes the frame view doesn't get updated (not sure why).
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/content_timeline.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_timeline.cc b/src/wx/content_timeline.cc
index ed578c1ba..bba2b433c 100644
--- a/src/wx/content_timeline.cc
+++ b/src/wx/content_timeline.cc
@@ -560,7 +560,7 @@ ContentTimeline::left_down_select(wxMouseEvent& ev)
/* Seek when clicking in the time axis */
int vsx, vsy;
_main_canvas->GetViewStart(&vsx, &vsy);
- _viewer.seek(DCPTime::from_seconds((ev.GetPosition().x + vsx * _x_scroll_rate) / _pixels_per_second.get_value_or(1)), true);
+ _viewer.seek(DCPTime::from_seconds((ev.GetPosition().x + vsx * _x_scroll_rate) / _pixels_per_second.get_value_or(1)), false);
}
if (!content_view) {