Update track labels when zooming out.
authorCarl Hetherington <cth@carlh.net>
Tue, 3 Jul 2018 13:34:38 +0000 (14:34 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 3 Jul 2018 13:34:38 +0000 (14:34 +0100)
src/wx/timeline.cc

index f68c98bda3241122da0522a1c1b5cec7b0d9f742..667bf5f873a69081aebab94255093b00fe89077f 100644 (file)
@@ -582,6 +582,7 @@ Timeline::right_down (wxMouseEvent& ev)
                _pixels_per_second = *_pixels_per_second / 2;
                _track_height = max (8, _track_height / 2);
                setup_scrollbars ();
+               Refresh ();
                break;
        }
 }