13
0

canvas: rename variable for clarity

This commit is contained in:
Paul Davis 2021-07-27 16:54:33 -06:00
parent 6f883650d8
commit da3ea7e236

View File

@ -964,11 +964,12 @@ Item::add_child_bounding_boxes (bool include_hidden) const
continue; continue;
} }
Rect group_bbox = (*i)->item_to_parent (item_bbox); Rect child_bbox = (*i)->item_to_parent (item_bbox);
if (have_one) { if (have_one) {
bbox = bbox.extend (group_bbox); bbox = bbox.extend (child_bbox);
} else { } else {
bbox = group_bbox; bbox = child_bbox;
have_one = true; have_one = true;
} }
} }