Apply new Item method name to various other usage sites
This commit is contained in:
parent
0e804be818
commit
7cd16d9473
@ -47,7 +47,7 @@ Maschine2Layout::compute_bounding_box () const
|
||||
* child boxes do not.
|
||||
*/
|
||||
_bounding_box = Rect (0, 0, display_width(), display_height());
|
||||
_bounding_box_dirty = false;
|
||||
set_bbox_clean ();
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -149,13 +149,13 @@ Maschine2Knob::compute_bounding_box () const
|
||||
{
|
||||
if (!_canvas || _radius == 0) {
|
||||
_bounding_box = Rect ();
|
||||
_bounding_box_dirty = false;
|
||||
set_bbox_clean ();
|
||||
return;
|
||||
}
|
||||
|
||||
if (bbox_dirty()) {
|
||||
_bounding_box = Rect (- _radius, - _radius, _radius, _radius);
|
||||
_bounding_box_dirty = false;
|
||||
set_bbox_clean ();
|
||||
}
|
||||
|
||||
/* Item::bounding_box() will add children */
|
||||
|
Loading…
Reference in New Issue
Block a user