staff-position is set.
* input/regression/rest-pitch.ly (texidoc): add rest under beam.
2004-01-15 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/beam.cc (rest_collision_callback): don't move anything if
+ staff-position is set.
+
+ * input/regression/rest-pitch.ly (texidoc): add rest under beam.
+
* lily/system.cc (typeset_grob): warn if adding twice.
* lily/sequential-iterator.cc (run_always): implement run_always().
a4\rest b4\rest c4\rest
<<d \\ d\rest^"rest pitch" >>
-<<d \\ r>>
+<<d \\ r>>
+ c16 [ d r e]
+ c16 [ d e\rest^"rest pitch" e]
+
}
}
{
Grob *rest = unsmob_grob (element_smob);
Axis a = (Axis) gh_scm2int (axis);
+
+ if (gh_number_p (rest->get_grob_property ("staff-position")))
+ return gh_int2scm (0);
assert (a == Y_AXIS);
for (; i > display_count; i--)
{
Grob* r = unsmob_grob (rests[i-1]->get_grob_property ("rest"));
-#if 1
if (r)
{
Grob * d = unsmob_grob (r->get_grob_property ("dot"));
r->suicide ();
}
rests[i-1]->suicide ();
-#else
- if (r)
- {
-
- r->set_grob_property ("transparent", gh_bool2scm(1));
- r = unsmob_grob (r->get_grob_property ("dot"));
- if (r)
- r->set_grob_property ("transparent", gh_bool2scm(1));
- }
-#endif
}
}
else