13
0

Apply new Item method name to various other usage sites

This commit is contained in:
Robin Gareus 2022-04-27 13:15:51 +02:00
parent 0e804be818
commit 7cd16d9473
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 */