mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
canvas: items should not add child bboxes in their ::compute_bounding_box() method, Item::bounding_box() does that
This commit is contained in:
parent
ad6afbe68a
commit
c0425ba70f
3 changed files with 3 additions and 3 deletions
|
|
@ -67,7 +67,7 @@ StepButton::compute_bounding_box () const
|
|||
{
|
||||
_bounding_box = Rect (0, 0, width, height);
|
||||
|
||||
add_child_bounding_boxes ();
|
||||
/* Item::bounding_box() will add children */
|
||||
|
||||
bb_clean ();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ Maschine2Knob::compute_bounding_box () const
|
|||
_bounding_box_dirty = false;
|
||||
}
|
||||
|
||||
add_child_bounding_boxes ();
|
||||
/* Item::bounding_box() will add children */
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ Push2Knob::compute_bounding_box () const
|
|||
_bounding_box_dirty = false;
|
||||
}
|
||||
|
||||
add_child_bounding_boxes ();
|
||||
/* Item::bounding_box() will add children */
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue