]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-column.cc
* lily/note-column.cc (translate_rests): call flush_extent_cache()
[lilypond.git] / lily / note-column.cc
index 160c996d90682d79d3df607aa9937de7632d5808..7e0b80d3f461d60b3d34852d3ae5122592a7bdcc 100644 (file)
@@ -130,6 +130,8 @@ Note_column::translate_rests (Grob*me, int dy)
   if (r && !scm_is_number (r->get_property ("staff-position")))
     {
       r->translate_axis (dy * Staff_symbol_referencer::staff_space (r)/2.0, Y_AXIS);
+      Grob *p = r->get_parent (Y_AXIS);
+      p->flush_extent_cache (Y_AXIS);
     }
 }