update position in timebar drag label
authorGood Guy <good1.2guy@gmail.com>
Wed, 5 Sep 2018 22:44:05 +0000 (16:44 -0600)
committerGood Guy <good1.2guy@gmail.com>
Wed, 5 Sep 2018 22:44:05 +0000 (16:44 -0600)
cinelerra-5.1/cinelerra/timebar.C

index 755e8e4196e0a85779fd62199fed0c562da821c8..2640f1a2620767f793f58ebec66a7d815e06c271 100644 (file)
@@ -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: