[ENH] improved drop

Sean McGrath sean at rosewood.his.ucsf.EDU
Wed Nov 3 23:17:07 UTC 1999


--551687059-25946-941671027=:252
Content-Type: TEXT/PLAIN; charset=US-ASCII


Here is a change (to HandMorph dropTargetFor:event:) that uses the center
of the dragged morph instead of the cursor position to find the target of
a drop. When dropping large morphs, like playing cards, it works much
better because system behaviour matches visual expectation when
the cursor is near the edge of the morph you are dropping.

Sean McGrath

--551687059-25946-941671027=:252
Content-Type: text/plain; name="easyDrop.3Nove254pm.cs"
 ; x-mac-type="65417070"
 ; x-mac-creator="43534F6D"
Content-Disposition: attachment; filename="easyDrop.3Nove254pm.cs"
Content-Transfer-Encoding: imap_stub

0,782,2,1264,0,

--551687059-25946-941671027=:252--





More information about the Squeak-dev mailing list