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;
}
//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:
}
}
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: