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-2609 tiny tidy
[jalview.git]
/
src
/
jalview
/
gui
/
SeqCanvas.java
diff --git
a/src/jalview/gui/SeqCanvas.java
b/src/jalview/gui/SeqCanvas.java
index
55e6182
..
22e2fe4
100755
(executable)
--- a/
src/jalview/gui/SeqCanvas.java
+++ b/
src/jalview/gui/SeqCanvas.java
@@
-237,10
+237,9
@@
public class SeqCanvas extends JComponent implements ViewportListenerI
*/
g.setColor(Color.white);
int y = (ypos + (i * charHeight)) - (charHeight / 5);
*/
g.setColor(Color.white);
int y = (ypos + (i * charHeight)) - (charHeight / 5);
- y -= charHeight; // fillRect: origin is top left of rectangle
- g.fillRect(0, y, left ? labelWidthWest : labelWidthEast,
+ // fillRect origin is top left of rectangle
+ g.fillRect(0, y - charHeight, left ? labelWidthWest : labelWidthEast,
charHeight + 1);
charHeight + 1);
- y += charHeight; // drawString: origin is bottom left of text
if (value != -1)
{
if (value != -1)
{