git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e9eb3
)
works even if col is 1 residue
author
amwaterhouse
<Andrew Waterhouse>
Wed, 23 Mar 2005 15:39:17 +0000
(15:39 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 23 Mar 2005 15:39:17 +0000
(15:39 +0000)
src/jalview/gui/ScalePanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/ScalePanel.java
b/src/jalview/gui/ScalePanel.java
index
b349b5b
..
37cfcaf
100755
(executable)
--- a/
src/jalview/gui/ScalePanel.java
+++ b/
src/jalview/gui/ScalePanel.java
@@
-150,7
+150,10
@@
public class ScalePanel extends JPanel
\r
gg.setColor(Color.black);
\r
\r
- int scalestartx = startx - startx%space + space;
\r
+
\r
+ int scalestartx = 0;
\r
+ if(space>0)
\r
+ scalestartx = startx - startx%space + space;
\r
\r
\r
//Fill the selected columns
\r