diff options
Diffstat (limited to 'lily/bar.cc')
-rw-r--r-- | lily/bar.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lily/bar.cc b/lily/bar.cc index 05a8557148..8fb5728314 100644 --- a/lily/bar.cc +++ b/lily/bar.cc @@ -35,7 +35,9 @@ Bar::brew_molecule_p() const { Paper_def *p = paper(); Atom s = p->lookup_l()->bar (type_str_, - p->get_var ("bar_size")); + p->get_var ("bar_size")); + s.translate_axis (-s.extent()[Y_AXIS].center (), Y_AXIS); + Molecule*output = new Molecule (Atom (s)); return output; } |