yet another case of misplaced parentheses during the removal of boost::optional from Canvas
This commit is contained in:
parent
6a823402e6
commit
484c3316d6
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user