fix the cairo-fletcher-fluctuation
CF reports occasional “rendering icon 1 at size 1 x 1” always followed by “rendering icon 1 at size 21 x 21”. Probably a GTK bug with some specific version of GTK.
This commit is contained in:
parent
6c4d2a576d
commit
86f56de656
@ -977,7 +977,9 @@ Gtkmm2ext::ArdourIcon::render (cairo_t *cr,
|
||||
bool rv = true;
|
||||
cairo_save (cr);
|
||||
|
||||
assert (width > 5 && height > 5);
|
||||
if (width < 6 || height < 6) {
|
||||
return false;
|
||||
}
|
||||
|
||||
switch (icon) {
|
||||
case TransportStop:
|
||||
|
Loading…
Reference in New Issue
Block a user