canvas: when an item has its bbox marked dirty, this should propagate to all parents
This commit is contained in:
@@ -191,7 +191,7 @@ Rectangle::set (Rect const & r)
|
||||
|
||||
_rect = r;
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
set_bbox_dirty ();
|
||||
end_change ();
|
||||
}
|
||||
}
|
||||
@@ -204,7 +204,7 @@ Rectangle::set_x0 (Coord x0)
|
||||
|
||||
_rect.x0 = x0;
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
set_bbox_dirty ();
|
||||
end_change ();
|
||||
}
|
||||
}
|
||||
@@ -217,7 +217,7 @@ Rectangle::set_y0 (Coord y0)
|
||||
|
||||
_rect.y0 = y0;
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
set_bbox_dirty ();
|
||||
end_change();
|
||||
}
|
||||
}
|
||||
@@ -230,7 +230,7 @@ Rectangle::set_x1 (Coord x1)
|
||||
|
||||
_rect.x1 = x1;
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
set_bbox_dirty ();
|
||||
end_change ();
|
||||
}
|
||||
}
|
||||
@@ -243,7 +243,7 @@ Rectangle::set_y1 (Coord y1)
|
||||
|
||||
_rect.y1 = y1;
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
set_bbox_dirty ();
|
||||
end_change ();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user