Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@5157 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
34ae8c4d23
commit
6532d139ec
@ -354,7 +354,6 @@ Editor::Editor ()
|
||||
no_region_list_redisplay = false;
|
||||
resize_idle_id = -1;
|
||||
|
||||
_scrubbing = false;
|
||||
scrubbing_direction = 0;
|
||||
|
||||
sfbrowser = 0;
|
||||
|
@ -1364,7 +1364,6 @@ class Editor : public PublicEditor
|
||||
void start_scrolling ();
|
||||
void stop_scrolling ();
|
||||
|
||||
bool _scrubbing;
|
||||
double last_scrub_x;
|
||||
int scrubbing_direction;
|
||||
int scrub_reversals;
|
||||
|
@ -1369,7 +1369,6 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT
|
||||
break;
|
||||
|
||||
case MouseAudition:
|
||||
_scrubbing = false;
|
||||
track_canvas->get_window()->set_cursor (*current_canvas_cursor);
|
||||
if (scrubbing_direction == 0) {
|
||||
/* no drag, just a click */
|
||||
@ -1465,7 +1464,7 @@ Editor::enter_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_
|
||||
|
||||
fraction = 1.0 - (cp->get_y() / cp->line().height());
|
||||
|
||||
if (is_drawable() && !_scrubbing) {
|
||||
if (is_drawable() && dynamic_cast<ScrubDrag*> (_drag) == 0) {
|
||||
track_canvas->get_window()->set_cursor (*fader_cursor);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user