Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1152)

Unified Diff: lily/spacing-loose-columns.cc

Issue 5432070: Uses the pure-from-neighbor-interface for NonMusicalPaperColumn horizontal spacing. (Closed)
Patch Set: Changes regtest, fixes TimeSignature extra-spacing-height. Created 12 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « input/regression/spacing-folded-clef3.ly ('k') | scm/define-grobs.scm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/spacing-loose-columns.cc
diff --git a/lily/spacing-loose-columns.cc b/lily/spacing-loose-columns.cc
index cc706fb6b0b9f5944753649e254672802333e84c..b73f193d2dd6b2264a1b83eb622e0d884f04b69f 100644
--- a/lily/spacing-loose-columns.cc
+++ b/lily/spacing-loose-columns.cc
@@ -176,6 +176,10 @@ set_loose_columns (System *which, Column_x_positions const *posns)
tight_note_space = spring.min_distance ();
}
+ Real loose_col_horizontal_length = loose_col->extent (loose_col, X_AXIS).length ();
+ base_note_space = max (base_note_space, loose_col_horizontal_length);
+ tight_note_space = max (tight_note_space, loose_col_horizontal_length);
+
clique_spacing.push_back (base_note_space);
clique_tight_spacing.push_back (tight_note_space);
}
« no previous file with comments | « input/regression/spacing-folded-clef3.ly ('k') | scm/define-grobs.scm » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b