diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-01-02 20:27:51 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-01-02 20:27:51 +0000 |
commit | 6c4caff156e65ef66195e85ad2bcd39fc190a5ec (patch) | |
tree | 2630ad644acd5727eb64bd6251109e78e9815ca8 /gtk2_ardour/editor_keyboard.cc | |
parent | feed0fc3339364ae987f1e76ed7c7d67a67ca5a7 (diff) |
fix window_to_world() issues inside ardour
git-svn-id: svn://localhost/trunk/ardour2@228 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_keyboard.cc')
-rw-r--r-- | gtk2_ardour/editor_keyboard.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_keyboard.cc b/gtk2_ardour/editor_keyboard.cc index abc9466af5..43935752f0 100644 --- a/gtk2_ardour/editor_keyboard.cc +++ b/gtk2_ardour/editor_keyboard.cc @@ -47,6 +47,8 @@ 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(); + worldy += vertical_adjustment.get_value(); ev.type = GDK_BUTTON_PRESS; ev.button.x = worldx; |