change label drag cursor
[goodguy/history.git] / cinelerra-5.1 / cinelerra / timebar.C
index 755e8e4196e0a85779fd62199fed0c562da821c8..3f0780b732d86180fd2a036b7cb335feda6f986f 100644 (file)
@@ -127,7 +127,7 @@ int LabelGUI::test_drag_label(int press)
                        if( press && get_value() ) {
                                timebar->current_operation = TIMEBAR_DRAG_LABEL;
                                timebar->drag_label = this;
-                               set_cursor(MOVE_CURSOR, 0, 0);
+                               set_cursor(HSEPARATE_CURSOR, 0, 0);
                                mwindow->undo->update_undo_before(_("drag label"), this);
                                return 1;
                        }
@@ -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: