X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FSeqCanvas.java;fp=src%2Fjalview%2Fappletgui%2FSeqCanvas.java;h=ce705970db0015756cbaaf808893c466b08e26e4;hb=9623cea766a766683243235557ad48e6f7659e6a;hp=522151c4c7c4dc20f1b153be321cef6c9857d866;hpb=6066400ed6b0fe288ebbea82389f59838a534706;p=jalview.git diff --git a/src/jalview/appletgui/SeqCanvas.java b/src/jalview/appletgui/SeqCanvas.java index 522151c..ce70597 100755 --- a/src/jalview/appletgui/SeqCanvas.java +++ b/src/jalview/appletgui/SeqCanvas.java @@ -473,11 +473,10 @@ public class SeqCanvas extends Panel continue; } - gg.fillPolygon(new int[] - { res * avcharWidth - avcharHeight / 4, + gg.fillPolygon(new int[] { res * avcharWidth - avcharHeight / 4, res * avcharWidth + avcharHeight / 4, res * avcharWidth }, - new int[] - { ypos - (avcharHeight / 2), ypos - (avcharHeight / 2), + new int[] { ypos - (avcharHeight / 2), + ypos - (avcharHeight / 2), ypos - (avcharHeight / 2) + 8 }, 3); } @@ -529,11 +528,9 @@ public class SeqCanvas extends Panel } private void drawPanel(Graphics g1, int startRes, int endRes, - int startSeq, - int endSeq, int offset) + int startSeq, int endSeq, int offset) { - if (!av.hasHiddenColumns()) { draw(g1, startRes, endRes, startSeq, endSeq, offset); @@ -827,8 +824,7 @@ public class SeqCanvas extends Panel break; } - group = av.getAlignment().getGroups() - .get(groupIndex); + group = av.getAlignment().getGroups().get(groupIndex); } while (groupIndex < av.getAlignment().getGroups().size()); }