13
0

fix port icon visibility for coalesced wire view

This commit is contained in:
Robin Gareus 2016-04-17 21:49:44 +02:00
parent ccbf56827d
commit 64fdadecb6

View File

@ -2905,6 +2905,7 @@ ProcessorBox::setup_routing_feeds ()
(*i)->routing_icon.unset_fed_by (); (*i)->routing_icon.unset_fed_by ();
} }
prev = i; prev = i;
(*i)->input_icon.hide();
} }
/* now set which icons need to be displayed */ /* now set which icons need to be displayed */
@ -2915,8 +2916,6 @@ ProcessorBox::setup_routing_feeds ()
(*i)->routing_icon.hide(); (*i)->routing_icon.hide();
if (i == children.begin()) { if (i == children.begin()) {
(*i)->input_icon.show(); (*i)->input_icon.show();
} else {
(*i)->input_icon.hide();
} }
} else { } else {
(*i)->routing_icon.show(); (*i)->routing_icon.show();
@ -2944,6 +2943,7 @@ ProcessorBox::setup_routing_feeds ()
} else if (!(*i)->routing_icon.out_identity ()) { } else if (!(*i)->routing_icon.out_identity ()) {
(*i)->output_routing_icon.show(); (*i)->output_routing_icon.show();
(*i)->output_routing_icon.queue_draw(); (*i)->output_routing_icon.queue_draw();
(*next)->input_icon.show();
} else { } else {
(*i)->output_routing_icon.hide(); (*i)->output_routing_icon.hide();
} }