mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ Rectangle::render_self (Rect const & area, Cairo::RefPtr<Cairo::Context> context
|
||||||
context->fill ();
|
context->fill ();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_outline) {
|
if (_outline && _outline_width && _outline_what) {
|
||||||
|
|
||||||
setup_outline_context (context);
|
setup_outline_context (context);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue