git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3438 spotless for 2.11.2.0
[jalview.git]
/
src
/
jalview
/
gui
/
OverviewCanvas.java
diff --git
a/src/jalview/gui/OverviewCanvas.java
b/src/jalview/gui/OverviewCanvas.java
index
8e67992
..
470fd64
100644
(file)
--- a/
src/jalview/gui/OverviewCanvas.java
+++ b/
src/jalview/gui/OverviewCanvas.java
@@
-182,7
+182,7
@@
public class OverviewCanvas extends JPanel
@Override
public void paintComponent(Graphics g)
{
@Override
public void paintComponent(Graphics g)
{
- //super.paintComponent(g);
+ // super.paintComponent(g);
if (restart)
{
if (restart)
{
@@
-207,9
+207,8
@@
public class OverviewCanvas extends JPanel
{
// if there is annotation, scale the alignment and annotation
// separately
{
// if there is annotation, scale the alignment and annotation
// separately
- if (od.getGraphHeight() > 0
- && od.getSequencesHeight() > 0 // BH 2019
- )
+ if (od.getGraphHeight() > 0 && od.getSequencesHeight() > 0 // BH 2019
+ )
{
BufferedImage topImage = lastMiniMe.getSubimage(0, 0,
od.getWidth(), od.getSequencesHeight());
{
BufferedImage topImage = lastMiniMe.getSubimage(0, 0,
od.getWidth(), od.getSequencesHeight());
@@
-250,13
+249,12
@@
public class OverviewCanvas extends JPanel
{
g.drawImage(lastMiniMe, 0, 0, getWidth(), getHeight(), this);
}
{
g.drawImage(lastMiniMe, 0, 0, getWidth(), getHeight(), this);
}
-
+
// draw the box
g.setColor(Color.red);
od.drawBox(g);
}
// draw the box
g.setColor(Color.red);
od.drawBox(g);
}
-
public void dispose()
{
dispose = true;
public void dispose()
{
dispose = true;