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:
parent
6cda13fad4
commit
787f9748b6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user