X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_hscroller.cc;h=c95d9230928381b64790030af129e0df7e788761;hb=02f714b8c9052e5ada0431df0be00f684294739d;hp=8504667daa7efb6183ca058dc890f0968b61419d;hpb=912da52a539981193941d8739fa6f103b5e406db;p=ardour.git diff --git a/gtk2_ardour/editor_hscroller.cc b/gtk2_ardour/editor_hscroller.cc index 8504667daa..c95d923092 100644 --- a/gtk2_ardour/editor_hscroller.cc +++ b/gtk2_ardour/editor_hscroller.cc @@ -34,7 +34,6 @@ Editor::hscrollbar_allocate (Gtk::Allocation &alloc) bool Editor::hscrollbar_button_press (GdkEventButton *ev) { - edit_hscroll_dragging = true; return true; } @@ -42,11 +41,7 @@ bool Editor::hscrollbar_button_release (GdkEventButton *ev) { if (session) { - if (edit_hscroll_dragging) { - // lets do a tempo redisplay only on button release, because it is dog slow - tempo_map_changed (Change (0)); - edit_hscroll_dragging = false; - } + } return true;