projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a780e70
)
tweak initial x-axis location of a recording rect (from grygorii zharun @ waves)
author
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 7 Sep 2014 15:34:24 +0000
(11:34 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 7 Sep 2014 15:34:24 +0000
(11:34 -0400)
gtk2_ardour/audio_streamview.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/audio_streamview.cc
b/gtk2_ardour/audio_streamview.cc
index bc5052c3907e8ac50e122fda00c16a740954383f..fa488832725416137d2d445a1c2cf9825b9507e4 100644
(file)
--- a/
gtk2_ardour/audio_streamview.cc
+++ b/
gtk2_ardour/audio_streamview.cc
@@
-295,7
+295,12
@@
AudioStreamView::setup_rec_box ()
RecBoxInfo recbox;
recbox.rectangle = rec_rect;
- recbox.start = _trackview.session()->transport_frame();
+
+ if (rec_rects.empty()) {
+ recbox.start = _trackview.session()->record_location ();
+ } else {
+ recbox.start = _trackview.session()->transport_frame ();
+ }
recbox.length = 0;
rec_rects.push_back (recbox);