From 49b383e5201a002e262ef98a77f5cc976b837acc Mon Sep 17 00:00:00 2001 From: Good Guy Date: Wed, 5 Sep 2018 16:44:05 -0600 Subject: [PATCH] update position in timebar drag label --- cinelerra-5.1/cinelerra/timebar.C | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) 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: -- 2.26.2