summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-05 01:17:16 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-05 01:17:16 +0200
commit8c57c9613b6d67ce4ae6f301ec0667d94cb7b0c5 (patch)
treecaf4117708ff4d141ab0a5ab1209b21d6a1db707
parent129f9164dc7e6ad15e18919f03eb23c9235d4944 (diff)
Fix flickering timeline drags on Windows (#2625).
-rw-r--r--src/wx/timeline.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc
index 95e48f562..dbc9f4ee0 100644
--- a/src/wx/timeline.cc
+++ b/src/wx/timeline.cc
@@ -175,6 +175,7 @@ void
Timeline::paint_main ()
{
wxPaintDC dc (_main_canvas);
+ dc.Clear();
auto film = _film.lock();
if (film->content().empty()) {