summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_keyboard.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-05-09 01:33:11 +0000
committerCarl Hetherington <carl@carlh.net>2010-05-09 01:33:11 +0000
commitacfc44f3889704587ff281c6348523b2811e7c2e (patch)
tree2e9db61991aa8693b3e10fc47a005b15db10ab6c /gtk2_ardour/editor_keyboard.cc
parentea1a103b26c87b821e41329b4eef7cf5d91770ee (diff)
Remove some hang-overs of the old horizontal scrollbar. Hence allow most things to happen beyond the session end marker.
git-svn-id: svn://localhost/ardour2/branches/3.0@7086 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_keyboard.cc')
-rw-r--r--gtk2_ardour/editor_keyboard.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_keyboard.cc b/gtk2_ardour/editor_keyboard.cc
index e6936232cd..bb047a1440 100644
--- a/gtk2_ardour/editor_keyboard.cc
+++ b/gtk2_ardour/editor_keyboard.cc
@@ -66,7 +66,7 @@ Editor::kbd_driver (sigc::slot<void,GdkEvent*> theslot, bool use_track_canvas, b
}
track_canvas->window_to_world (x, y, worldx, worldy);
- worldx += horizontal_adjustment.get_value();
+ worldx += _horizontal_position;
worldy += vertical_adjustment.get_value();
ev.type = GDK_BUTTON_PRESS;