projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6814c4
)
Fix note heights to be consistent.
author
David Robillard
<d@drobilla.net>
Sat, 2 Jun 2007 17:48:11 +0000
(17:48 +0000)
committer
David Robillard
<d@drobilla.net>
Sat, 2 Jun 2007 17:48:11 +0000
(17:48 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1946
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/midi_region_view.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/midi_region_view.cc
b/gtk2_ardour/midi_region_view.cc
index 1144bb2011cc038e4d77648bdfccfd01eb041c14..fe2947bc42261678e787604ec1a56d597c519ae4 100644
(file)
--- a/
gtk2_ardour/midi_region_view.cc
+++ b/
gtk2_ardour/midi_region_view.cc
@@
-159,7
+159,7
@@
MidiRegionView::add_event (const MidiEvent& ev)
ev_rect->property_y1() = y1;
ev_rect->property_x2() = trackview.editor.frame_to_pixel (
_region->length());
- ev_rect->property_y2() = y1 + (trackview.height / 127.0);
+ ev_rect->property_y2() = y1 +
ceil
(trackview.height / 127.0);
ev_rect->property_outline_color_rgba() = 0xFFFFFFAA;
/* outline all but right edge */
ev_rect->property_outline_what() = (guint32) (0x1 & 0x4 & 0x8);