projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f66f7ba
)
don't do as much work if a Rectangle has no outline width or outline what values
author
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 25 Sep 2016 19:45:10 +0000
(14:45 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 27 Sep 2016 19:59:32 +0000
(14:59 -0500)
libs/canvas/rectangle.cc
patch
|
blob
|
history
diff --git
a/libs/canvas/rectangle.cc
b/libs/canvas/rectangle.cc
index 64cdd3af8acedb78c52ee04cb744d03152bf2071..3158dad4ae102e6beb4a2d25c8733bb58879b59c 100644
(file)
--- a/
libs/canvas/rectangle.cc
+++ b/
libs/canvas/rectangle.cc
@@
-90,7
+90,7
@@
Rectangle::render_self (Rect const & area, Cairo::RefPtr<Cairo::Context> context
context->fill ();
}
- if (_outline) {
+ if (_outline
&& _outline_width && _outline_what
) {
setup_outline_context (context);