bugfix in scrolling during drag & drop; test for isRootView
authorca
Tue, 28 Oct 2003 16:32:24 +0100
changeset 1835 d6db8466019b
parent 1834 fe5dd53e3a80
child 1836 c1e0cf991a4d
bugfix in scrolling during drag & drop; test for isRootView
DragAndDropManager.st
--- a/DragAndDropManager.st	Fri Oct 17 14:49:57 2003 +0200
+++ b/DragAndDropManager.st	Tue Oct 28 16:32:24 2003 +0100
@@ -1251,6 +1251,7 @@
 
     targetWidget := dropContext targetWidget.
     targetWidget isNil ifTrue:[ ^ self ].
+    targetWidget isRootView ifTrue:[ ^ self ].
 
     targetPoint := dropContext targetPoint.
     targetPoint isNil ifTrue:[ ^ self ].
@@ -1478,7 +1479,7 @@
 !DragAndDropManager class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/DragAndDropManager.st,v 1.53 2003-10-17 12:49:57 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/DragAndDropManager.st,v 1.54 2003-10-28 15:32:24 ca Exp $'
 ! !
 
 DragAndDropManager initialize!