]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/text-item.cc
release: 0.1.30
[lilypond.git] / lily / text-item.cc
index 4701f2b10983c6616c6b164e3bbeb90a31fb7665..16a45977f17d9bcf043e97c4fa2a6c3349ea3e77 100644 (file)
@@ -51,8 +51,8 @@ Text_item::brew_molecule_p() const
   Molecule* mol_p = new Molecule (a);
 
   if (dir_<0)          // should do something better anyway.
-    mol_p->translate (-mol_p->extent().y ().left , Y_AXIS);
-  mol_p->translate (pos_i_ * paper()->internote_f (), Y_AXIS);
+    mol_p->translate_axis (-mol_p->extent().y ().left , Y_AXIS);
+  mol_p->translate_axis (y_, Y_AXIS);
   
   return mol_p;
 }