Take into account scroll value
authoramwaterhouse <Andrew Waterhouse>
Thu, 29 Sep 2005 16:11:50 +0000 (16:11 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 29 Sep 2005 16:11:50 +0000 (16:11 +0000)
src/jalview/gui/CutAndPasteTransfer.java

index f2920e5..57dabff 100755 (executable)
@@ -197,7 +197,7 @@ public class CutAndPasteTransfer extends GCutAndPasteTransfer
                   }\r
             });\r
         popup.add(item);\r
-        popup.show(this, e.getX(), e.getY()+30);\r
+        popup.show(this, e.getX(), e.getY()+textarea.getY()+30);\r
 \r
       }\r
     }\r