don't do as much work if a Rectangle has no outline width or outline what values
This commit is contained in:
parent
f66f7ba136
commit
5d43d2e43f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user