mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-21 21:06:03 +01:00
Apply new Item method name to various other usage sites
This commit is contained in:
parent
0e804be818
commit
7cd16d9473
2 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue