#OTHER by cg
authorClaus Gittinger <cg@exept.de>
Fri, 15 Jun 2018 02:40:19 +0200
changeset 18214 e7e8fd9c292f
parent 18213 c0d117c0473d
child 18215 ada2807ba172
#OTHER by cg drag and drop confusion fixed (Logical vs. Device coordinates)
AbstractDirectoryBrowser.st
--- a/AbstractDirectoryBrowser.st	Fri Jun 15 00:39:39 2018 +0200
+++ b/AbstractDirectoryBrowser.st	Fri Jun 15 02:40:19 2018 +0200
@@ -148,8 +148,10 @@
 getLineNumberFor:aDropContext
     | yVisible|
 
-    yVisible := (aDropContext targetPoint y).
+    yVisible := (aDropContext targetPointInDeviceCoordinates y).
     ^ browser yVisibleToRowNr:yVisible.
+
+    "Modified: / 15-06-2018 / 02:32:03 / Claus Gittinger"
 !
 
 pushUserEvent:selector withArgument:argument