diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 11:15:45 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 11:15:45 -0400 |
commit | 4258a349121392516543486bd9de6f13fe3f3331 (patch) | |
tree | 3cd0c6b61a58e006483d0782326b43246d9eb55e /gtk2_ardour/editor_rulers.cc | |
parent | ecfd2a74552a45781e4d57a09e73313cd8815a4d (diff) |
change all frame_to_pixel and pixel_to_frame to sample_to_pixel and pixel_to_sample
Diffstat (limited to 'gtk2_ardour/editor_rulers.cc')
-rw-r--r-- | gtk2_ardour/editor_rulers.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc index 0a855d7f90..de10a49c1c 100644 --- a/gtk2_ardour/editor_rulers.cc +++ b/gtk2_ardour/editor_rulers.cc @@ -279,7 +279,7 @@ Editor::ruler_button_release (GdkEventButton* ev) stop_canvas_autoscroll(); - framepos_t where = leftmost_frame + pixel_to_frame (x); + framepos_t where = leftmost_frame + pixel_to_sample (x); snap_to (where); popup_ruler_menu (where); } |