From 133e5d7be0ca295fd4ac4ccfa6c82165c795ea80 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 29 Sep 2005 16:11:50 +0000 Subject: [PATCH] Take into account scroll value --- src/jalview/gui/CutAndPasteTransfer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/CutAndPasteTransfer.java b/src/jalview/gui/CutAndPasteTransfer.java index f2920e5..57dabff 100755 --- a/src/jalview/gui/CutAndPasteTransfer.java +++ b/src/jalview/gui/CutAndPasteTransfer.java @@ -197,7 +197,7 @@ public class CutAndPasteTransfer extends GCutAndPasteTransfer } }); popup.add(item); - popup.show(this, e.getX(), e.getY()+30); + popup.show(this, e.getX(), e.getY()+textarea.getY()+30); } } -- 1.7.10.2