From 5ebc4a99be2ae91f7378c08e582e14b55d187ec8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 25 Oct 2013 13:29:23 -0400 Subject: [PATCH] don't request redraw of a Canvas item if it marked invisible --- libs/canvas/item.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/canvas/item.cc b/libs/canvas/item.cc index 542b6e5cf5..79351846db 100644 --- a/libs/canvas/item.cc +++ b/libs/canvas/item.cc @@ -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())); } }