{
return;
}
- // todo: property change event for visibleAlignment
- // to avoid unnecessary redraws here
- if (!colourBySequence && !isShowAlignmentOnly())
+
+ /*
+ * if structure is not coloured by sequence, but restricted to the alignment,
+ * then redraw it (but don't recolour it) in case hidden regions have changed
+ * (todo: specific messaging for change of hidden region only)
+ */
+ if (!colourBySequence)
{
+ if (isShowAlignmentOnly())
+ {
+ showStructures(alignmentv.getAlignViewport(), false);
+ }
return;
}
if (getSsm() == null)