From: Good Guy Date: Wed, 5 Sep 2018 22:44:05 +0000 (-0600) Subject: update position in timebar drag label X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=49b383e5201a002e262ef98a77f5cc976b837acc;p=goodguy%2Fhistory.git update position in timebar drag label --- diff --git a/cinelerra-5.1/cinelerra/timebar.C b/cinelerra-5.1/cinelerra/timebar.C index 755e8e41..2640f1a2 100644 --- a/cinelerra-5.1/cinelerra/timebar.C +++ b/cinelerra-5.1/cinelerra/timebar.C @@ -785,16 +785,6 @@ int TimeBar::cursor_motion_event() //printf("TimeBar::cursor_motion_event %d %p %d\n", __LINE__, this, current_operation); switch( current_operation ) { - case TIMEBAR_DRAG: - { - update_cursor(); - handle_mwindow_drag(); - result = 1; -//printf("TimeBar::cursor_motion_event %d %d\n", __LINE__, current_operation); - break; - } - - case TIMEBAR_DRAG_LEFT: case TIMEBAR_DRAG_RIGHT: case TIMEBAR_DRAG_CENTER: @@ -818,7 +808,13 @@ int TimeBar::cursor_motion_event() } } highlighted = 1; - redraw = 1; + redraw = 1; // fall thru + + case TIMEBAR_DRAG: + update_cursor(); + handle_mwindow_drag(); + result = 1; +//printf("TimeBar::cursor_motion_event %d %d\n", __LINE__, current_operation); break; default: