[ENH] improved drop

Pennell, David dpennell at quallaby.com
Thu Nov 4 13:10:08 UTC 1999


Thanks!!!  You just made my "To Do" list shorter.  Now if we
can get it to carry the morph relative to the cursor point at
original button down time...  It sometimes takes FreeCell a
little while to decide if a card (or stack of cards) can be
dragged.  The cursor and the dragged card(s) can get pretty
far apart.

-david

> -----Original Message-----
> From: Sean McGrath [mailto:sean at rosewood.his.ucsf.EDU]
> Sent: Wednesday, November 03, 1999 6:17 PM
> To: squeak at cs.uiuc.edu
> Subject: [ENH] improved drop
> 
> 
> 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
> 





More information about the Squeak-dev mailing list