projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b1a1b
)
Fix piano roll to use the same octave numbering as the verbose canvas cursor (#4015).
author
Carl Hetherington
<carl@carlh.net>
Mon, 2 May 2011 22:34:44 +0000
(22:34 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Mon, 2 May 2011 22:34:44 +0000
(22:34 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9458
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/piano_roll_header.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/piano_roll_header.cc
b/gtk2_ardour/piano_roll_header.cc
index 4bb8250fea2c38f2f223a23b5ea12393782a0574..02d656d69863efceed4831a8d2416f5ac32a2da0 100644
(file)
--- a/
gtk2_ardour/piano_roll_header.cc
+++ b/
gtk2_ardour/piano_roll_header.cc
@@
-445,7
+445,7
@@
PianoRollHeader::on_expose_event (GdkEventExpose* ev)
double y = floor(_view.note_to_y(i)) - 0.5f;
double note_height = floor(_view.note_to_y(i - 1)) - y;
- int cn = i / 12;
+ int cn = i / 12
- 1
;
s << "C" << cn;
//cr->get_text_extents(s.str(), te);