another case of misplaced parentheses during the removal of boost::optional from Canvas
This commit is contained in:
parent
fa1a7ae9b9
commit
49422aa89a
@ -183,7 +183,7 @@ Canvas::item_shown_or_hidden (Item* item)
|
|||||||
{
|
{
|
||||||
Rect bbox = item->bounding_box ();
|
Rect bbox = item->bounding_box ();
|
||||||
if (bbox) {
|
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);
|
queue_draw_item_area (item, bbox);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user