projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a5e98b
)
don't request redraw of a Canvas item if it marked invisible
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 25 Oct 2013 17:29:23 +0000
(13:29 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 25 Oct 2013 17:29:23 +0000
(13:29 -0400)
libs/canvas/item.cc
patch
|
blob
|
history
diff --git
a/libs/canvas/item.cc
b/libs/canvas/item.cc
index 542b6e5cf58ef8ca901cf204e89827025b87da7a..79351846db88e4218bf29df56c9de68029c81bce 100644
(file)
--- 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()));
}
}