Skip to content
Snippets Groups Projects
Commit d62cdbde authored by tjc's avatar tjc
Browse files

fix for plot display

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@4157 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent dd71ffe5
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ public class PrintACT extends ScrollPanel
Component c[] = mc.getBasePlotGroupArray()[i].getComponents();
for(int j=0; j<c.length; j++)
{
if(c[j] instanceof BasePlot)
if(c[j] instanceof BasePlot && c[j].isVisible())
{
((BasePlot)c[j]).paintComponent(g2d);
g2d.translate(0,((BasePlot)c[j]).getHeight());
......@@ -87,7 +87,7 @@ public class PrintACT extends ScrollPanel
Component c[] = mc.getBasePlotGroupArray()[i].getComponents();
for(int j=0; j<c.length; j++)
{
if(c[j] instanceof BasePlot)
if(c[j] instanceof BasePlot && c[j].isVisible())
{
((BasePlot)c[j]).paintComponent(g2d);
g2d.translate(0,((BasePlot)c[j]).getHeight());
......@@ -120,7 +120,7 @@ public class PrintACT extends ScrollPanel
{
Component c[] = mc.getBasePlotGroupArray()[i].getComponents();
for(int j=0; j<c.length; j++)
if(c[j] instanceof BasePlot)
if(c[j] instanceof BasePlot && c[j].isVisible())
{
height += ((BasePlot)c[j]).getHeight();
if(((BasePlot)c[j]).getSize().width < width &&
......@@ -138,7 +138,7 @@ public class PrintACT extends ScrollPanel
{
Component c[] = mc.getBasePlotGroupArray()[i].getComponents();
for(int j=0; j<c.length; j++)
if(c[j] instanceof BasePlot)
if(c[j] instanceof BasePlot && c[j].isVisible())
{
height += ((BasePlot)c[j]).getHeight();
if(((BasePlot)c[j]).getSize().width < width &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment