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 (from parent 1:
4675978
)
java 1.1 compatibility
author
amwaterhouse
<Andrew Waterhouse>
Mon, 1 May 2006 13:22:02 +0000
(13:22 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Mon, 1 May 2006 13:22:02 +0000
(13:22 +0000)
src/jalview/appletgui/AlignmentPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/AlignmentPanel.java
b/src/jalview/appletgui/AlignmentPanel.java
index
cc89098
..
ed88418
100755
(executable)
--- a/
src/jalview/appletgui/AlignmentPanel.java
+++ b/
src/jalview/appletgui/AlignmentPanel.java
@@
-113,6
+113,7
@@
public class AlignmentPanel extends Panel implements AdjustmentListener
scalePanel.setSize(new Dimension(10, av.charHeight + fm.getDescent()));
\r
idwidthAdjuster.setSize(new Dimension(10, av.charHeight + fm.getDescent()));
\r
\r
scalePanel.setSize(new Dimension(10, av.charHeight + fm.getDescent()));
\r
idwidthAdjuster.setSize(new Dimension(10, av.charHeight + fm.getDescent()));
\r
\r
+annotationPanel.image = null;
\r
int ap = annotationPanel.adjustPanelHeight();
\r
annotationPanel.repaint();
\r
Dimension d = calculateIdWidth();
\r
int ap = annotationPanel.adjustPanelHeight();
\r
annotationPanel.repaint();
\r
Dimension d = calculateIdWidth();
\r
@@
-228,8
+229,7
@@
public class AlignmentPanel extends Panel implements AdjustmentListener
\r
void scrollToWrappedVisible(int res)
\r
{
\r
\r
void scrollToWrappedVisible(int res)
\r
{
\r
- int cwidth = seqPanel.seqCanvas.getWrappedCanvasWidth(seqPanel.seqCanvas.
\r
- getWidth());
\r
+ int cwidth = seqPanel.seqCanvas.getWrappedCanvasWidth(seqPanel.seqCanvas.getSize().width);
\r
if (res <= av.getStartRes() || res >= (av.getStartRes() + cwidth))
\r
{
\r
vscroll.setValue(res / cwidth);
\r
if (res <= av.getStartRes() || res >= (av.getStartRes() + cwidth))
\r
{
\r
vscroll.setValue(res / cwidth);
\r