don't do as much work if a Rectangle has no outline width or outline what values

This commit is contained in:
Paul Davis 2016-09-25 14:45:10 -05:00
parent f66f7ba136
commit 5d43d2e43f

View File

@ -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);