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
updated statement of limitations for interactive annotation editing with Jalview GUI
[jalview.git]
/
src
/
jalview
/
appletgui
/
ScalePanel.java
diff --git
a/src/jalview/appletgui/ScalePanel.java
b/src/jalview/appletgui/ScalePanel.java
index
b35fa6c
..
a1d0bf7
100755
(executable)
--- a/
src/jalview/appletgui/ScalePanel.java
+++ b/
src/jalview/appletgui/ScalePanel.java
@@
-189,7
+189,7
@@
public class ScalePanel
\r
if (!stretchingGroup)
\r
{
\r
\r
if (!stretchingGroup)
\r
{
\r
- ap.paintAlignment(true);
\r
+ ap.paintAlignment(false);
\r
\r
return;
\r
}
\r
\r
return;
\r
}
\r
@@
-206,7
+206,7
@@
public class ScalePanel
}
\r
\r
stretchingGroup = false;
\r
}
\r
\r
stretchingGroup = false;
\r
- ap.paintAlignment(true);
\r
+ ap.paintAlignment(false);
\r
}
\r
\r
public void mouseDragged(MouseEvent evt)
\r
}
\r
\r
public void mouseDragged(MouseEvent evt)
\r
@@
-259,19
+259,22
@@
public class ScalePanel
sg.setStartRes(res);
\r
}
\r
\r
sg.setStartRes(res);
\r
}
\r
\r
+ int col;
\r
for (int i = min; i <= max; i++)
\r
{
\r
for (int i = min; i <= max; i++)
\r
{
\r
- if ( (i < sg.getStartRes()) || (i > sg.getEndRes()))
\r
+ col = av.getColumnSelection().adjustForHiddenColumns(i);
\r
+
\r
+ if ( (col < sg.getStartRes()) || (col > sg.getEndRes()))
\r
{
\r
{
\r
- av.getColumnSelection().removeElement(i);
\r
+ av.getColumnSelection().removeElement(col);
\r
}
\r
else
\r
{
\r
}
\r
else
\r
{
\r
- av.getColumnSelection().addElement(i);
\r
+ av.getColumnSelection().addElement(col);
\r
}
\r
}
\r
\r
}
\r
}
\r
\r
- ap.paintAlignment(true);
\r
+ ap.paintAlignment(false);
\r
}
\r
}
\r
\r
}
\r
}
\r
\r