]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/volta-spanner.cc
release: 1.3.93
[lilypond.git] / lily / volta-spanner.cc
index 1ce8128d9deac1de3198314a34e33befddb22e49..34a4016c28ea8cba5bd1d379f3ed5f859b64f059 100644 (file)
@@ -66,7 +66,12 @@ Volta_spanner::brew_molecule (SCM smob)
   Real staff_space = me->paper_l ()->get_var ("staffspace");
   Real staff_thick = me->paper_l ()->get_var ("stafflinethickness");  
   Real half_space = staff_space / 2;
-  Real left = dynamic_cast<Spanner*>(me)->get_broken_left_end_align ();
+
+  /*
+    the volta spanner is attached to the bar-line, which is moved
+    to the right. We don't need to compensate for the left edge.
+   */
+  Real left = 0.0;
   Real w = dynamic_cast<Spanner*>(me)->spanner_length () - left - half_space;
   Real h = staff_space * gh_scm2double (me->get_elt_property ("height"));
   Real t = staff_thick * gh_scm2double (me->get_elt_property ("thickness"));