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