don't request redraw of a Canvas item if it marked invisible
This commit is contained in:
parent
3a5e98bb8b
commit
5ebc4a99be
@ -331,7 +331,7 @@ Item::width () const
|
||||
void
|
||||
Item::redraw () const
|
||||
{
|
||||
if (_bounding_box && _canvas) {
|
||||
if (_visible && _bounding_box && _canvas) {
|
||||
_canvas->request_redraw (item_to_canvas (_bounding_box.get()));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user