From 3647a55f28fe6fb7de14c9cfd90cb99d9de69d25 Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Thu, 11 Oct 2012 03:40:39 +0000 Subject: [PATCH] fix bug: sysexes x position not relative to region git-svn-id: svn://localhost/ardour2/branches/3.0@13239 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/midi_region_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index ce29e6dcba..76cbcca226 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -1292,7 +1292,7 @@ MidiRegionView::display_sysexes() } string text = str.str(); - const double x = trackview.editor().frame_to_pixel(source_beats_to_absolute_frames(time)); + const double x = trackview.editor().frame_to_pixel(source_beats_to_region_frames(time)); double height = midi_stream_view()->contents_height();