mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
canvas: call Item::bounding_box() to recompute bounding box when needed
Since 74fe396cc5 compute_bounding_box() by itself does not do the entire computation, so we must call into Item::bounding_box() to get the result with children added also
This commit is contained in:
parent
c0425ba70f
commit
9095057675
3 changed files with 3 additions and 3 deletions
|
|
@ -256,7 +256,7 @@ Box::layout ()
|
|||
|
||||
if (yes_do_it) {
|
||||
reposition_children ();
|
||||
compute_bounding_box ();
|
||||
(void) bounding_box ();
|
||||
|
||||
const double w = std::max (requested_width, _bounding_box.width());
|
||||
const double h = std::max (requested_height, _bounding_box.height());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue