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:
f55ab79
)
JAL-3673 make sure font metrics are updated if dealing with reference sequence font !
author
Jim Procter
<jprocter@issues.jalview.org>
Fri, 26 Jun 2020 16:24:16 +0000
(17:24 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Fri, 26 Jun 2020 16:24:22 +0000
(17:24 +0100)
src/jalview/gui/IdCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/IdCanvas.java
b/src/jalview/gui/IdCanvas.java
index
10c0787
..
1a8e79f
100755
(executable)
--- a/
src/jalview/gui/IdCanvas.java
+++ b/
src/jalview/gui/IdCanvas.java
@@
-324,6
+324,7
@@
public class IdCanvas extends JPanel implements ViewportListenerI
if (hasHiddenRows || alignViewport.isDisplayReferenceSeq())
{
g.setFont(getHiddenFont(sequence, alignViewport));
+ fm = g.getFontMetrics();
}
// Selected sequence colours