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_cursors.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_cursors.cc')
-rw-r--r-- | gtk2_ardour/editor_cursors.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_cursors.cc b/gtk2_ardour/editor_cursors.cc index 81fba54b78..c5e6b6d5d6 100644 --- a/gtk2_ardour/editor_cursors.cc +++ b/gtk2_ardour/editor_cursors.cc @@ -67,7 +67,7 @@ EditorCursor::set_position (framepos_t frame) { PositionChanged (frame); - double const new_pos = _editor.frame_to_pixel (frame); + double const new_pos = _editor.sample_to_pixel (frame); if (new_pos != _time_bars_canvas_item.x ()) { _time_bars_canvas_item.set_x (new_pos); |