projects
/
lilypond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2582617
)
Don't mix positions and staff spaces in bar-stem spacing.
author
Han-Wen Nienhuys
<hanwen@xs4all.nl>
Mon, 8 Jan 2007 10:03:00 +0000
(11:03 +0100)
committer
Han-Wen Nienhuys
<hanwen@xs4all.nl>
Mon, 8 Jan 2007 10:03:00 +0000
(11:03 +0100)
lily/staff-spacing.cc
patch
|
blob
|
history
diff --git
a/lily/staff-spacing.cc
b/lily/staff-spacing.cc
index 65c565617c428aa09531fd94bb7cc141787e0576..1cbfee096a066731bcc5f9c935ad4c88d2b1a255 100644
(file)
--- a/
lily/staff-spacing.cc
+++ b/
lily/staff-spacing.cc
@@
-42,6
+42,9
@@
Staff_spacing::next_note_correction (Grob *me,
Item *col = dynamic_cast<Item *> (g)->get_column ();
Real left_stickout_correction = max (0., (- g->extent (col, X_AXIS)[LEFT]));
+ /* staff space -> positions */
+ bar_size *= 2;
+
/*
Duh. If this gets out of hand, we should invent something more generic.
*/
@@
-110,7
+113,7
@@
Staff_spacing::next_note_correction (Grob *me,
Real correction = optical_corr + left_stickout_correction;
if (correction)
{
-
wish_count
++;
+
(*wish_count)
++;
/*
This minute adjustments don't make sense for widely spaced scores.