projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b835af
)
fix edges of selection rects in time axis views to lie correctly within bounds of...
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 27 Jun 2014 14:18:11 +0000
(10:18 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 27 Jun 2014 14:18:11 +0000
(10:18 -0400)
gtk2_ardour/time_axis_view.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/time_axis_view.cc
b/gtk2_ardour/time_axis_view.cc
index 15a70304f61a9312f0c89cfeebcd57025d46770c..9cc691ad08f03ddc60c9910edef73bf96e3fe990 100644
(file)
--- a/
gtk2_ardour/time_axis_view.cc
+++ b/
gtk2_ardour/time_axis_view.cc
@@
-847,9
+847,9
@@
TimeAxisView::show_selection (TimeSelection& ts)
x1 = _editor.sample_to_pixel (start);
x2 = _editor.sample_to_pixel (start + cnt - 1);
- y2 = current_height();
+ y2 = current_height()
- 1
;
- rect->rect->set (ArdourCanvas::Rect (x1,
1
, x2, y2));
+ rect->rect->set (ArdourCanvas::Rect (x1,
0
, x2, y2));
// trim boxes are at the top for selections