13
0

yet another case of misplaced parentheses during the removal of boost::optional from Canvas

This commit is contained in:
Paul Davis 2017-01-25 16:56:31 +01:00
parent 6a823402e6
commit 484c3316d6

View File

@ -198,7 +198,7 @@ Canvas::item_visual_property_changed (Item* item)
{
Rect bbox = item->bounding_box ();
if (bbox) {
if (item->item_to_window (bbox.intersection (visible_area ()))) {
if (item->item_to_window (bbox).intersection (visible_area ())) {
queue_draw_item_area (item, bbox);
}
}