mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-13 10:06:33 +01:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -170,7 +170,10 @@ Text::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
||||||
void
|
void
|
||||||
Text::clamp_width (double w)
|
Text::clamp_width (double w)
|
||||||
{
|
{
|
||||||
|
begin_change ();
|
||||||
_clamped_width = w;
|
_clamped_width = w;
|
||||||
|
_bounding_box_dirty = true;
|
||||||
|
end_change ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue