13
0

changing the clamp_width of an ArdourCanvas::Text needs to potentially provoke an entire redraw

This fixes missing range marker text in sessions where the initial zoom value causes an initial clamp_width of zero
This commit is contained in:
Paul Davis 2014-11-06 20:33:01 -05:00
parent 6cda13fad4
commit 787f9748b6

View File

@ -170,7 +170,10 @@ Text::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
void
Text::clamp_width (double w)
{
begin_change ();
_clamped_width = w;
_bounding_box_dirty = true;
end_change ();
}
void