Refactor so that all the locate-related stuff in CursorDrag is in one method. Also...
[ardour.git] / gtk2_ardour / editor_canvas_events.cc
index d25492287d60b7ddc17dfc6b19d3267cefbe906f..5028f477894266a80ba1e534d0bcb4cc32b2c72b 100644 (file)
@@ -294,7 +294,7 @@ Editor::canvas_stream_view_event (GdkEvent *event, ArdourCanvas::Item* item, Rou
        case GDK_LEAVE_NOTIFY:
                set_entered_track (0);
                break;
-
+               
        default:
                break;
        }
@@ -773,13 +773,13 @@ Editor::canvas_frame_handle_event (GdkEvent* event, ArdourCanvas::Item* item, Re
           perspective. XXX change this ??
        */
 
-        ItemType type;
+       ItemType type;
 
-        if (item->get_data ("isleft")) {
-                type = LeftFrameHandle;
-        } else {
-                type = RightFrameHandle;
-        }
+       if (item->get_data ("isleft")) {
+               type = LeftFrameHandle;
+       } else {
+               type = RightFrameHandle;
+       }
 
        switch (event->type) {
        case GDK_BUTTON_PRESS:
@@ -839,7 +839,7 @@ Editor::canvas_region_view_name_highlight_event (GdkEvent* event, ArdourCanvas::
                break;
        case GDK_MOTION_NOTIFY:
                motion_handler (item, event);
-                ret = true; // force this to avoid progagating the event into the regionview
+               ret = true; // force this to avoid progagating the event into the regionview
                break;
        case GDK_ENTER_NOTIFY:
                set_entered_regionview (rv);