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:
8963cf5
)
Check height of featurePanel, not this for mousepresses
author
amwaterhouse
<Andrew Waterhouse>
Fri, 28 Jul 2006 13:26:41 +0000
(13:26 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 28 Jul 2006 13:26:41 +0000
(13:26 +0000)
src/jalview/appletgui/FeatureSettings.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/FeatureSettings.java
b/src/jalview/appletgui/FeatureSettings.java
index
a733e24
..
49f0996
100755
(executable)
--- a/
src/jalview/appletgui/FeatureSettings.java
+++ b/
src/jalview/appletgui/FeatureSettings.java
@@
-403,8
+403,9
@@
public class FeatureSettings extends Panel implements ItemListener,
\r
int height = evt.getY()+evt.getComponent().getLocation().y;
\r
\r
- if(height > this.getSize().height)
\r
+ if(height > featurePanel.getSize().height)
\r
{
\r
+
\r
comp = featurePanel.getComponent(featurePanel.getComponentCount()-1);
\r
}
\r
else if(height < 0)
\r