(temporarily) add nodraw bitflag to avoid gradient fills
This commit is contained in:
parent
220c319bf0
commit
f377822891
@ -101,7 +101,11 @@ Rectangle::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) con
|
||||
if (_stops.empty()) {
|
||||
setup_fill_context (context);
|
||||
} else {
|
||||
setup_gradient_context (context, self, Duple (draw.x0, draw.y0));
|
||||
if (ArdourCanvas::nodraw & 0x80) {
|
||||
setup_fill_context (context);
|
||||
} else {
|
||||
setup_gradient_context (context, self, Duple (draw.x0, draw.y0));
|
||||
}
|
||||
}
|
||||
|
||||
if (_corner_radius) {
|
||||
|
Loading…
Reference in New Issue
Block a user