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:
c46ecb0
)
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>
Tue, 11 Aug 2020 14:05:56 +0000
(15:05 +0100)
src/jalview/gui/IdCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/IdCanvas.java
b/src/jalview/gui/IdCanvas.java
index
a925227
..
541c253
100755
(executable)
--- a/
src/jalview/gui/IdCanvas.java
+++ b/
src/jalview/gui/IdCanvas.java
@@
-320,6
+320,7
@@
public class IdCanvas extends JPanel implements ViewportListenerI
if (hasHiddenRows || alignViewport.isDisplayReferenceSeq())
{
g.setFont(getHiddenFont(sequence, alignViewport));
+ fm = g.getFontMetrics();
}
// Selected sequence colours