[squeak-dev] The Trunk: Morphic-cmm.606.mcz

Levente Uzonyi leves at elte.hu
Fri Mar 30 09:23:53 UTC 2012


On Fri, 30 Mar 2012, commits at source.squeak.org wrote:

> Chris Muller uploaded a new version of Morphic to project The Trunk:
> http://source.squeak.org/trunk/Morphic-cmm.606.mcz
>
> ==================== Summary ====================
>
> Name: Morphic-cmm.606
> Author: cmm
> Time: 5 January 2012, 10:12:46.114 pm
> UUID: b3bb5602-a323-4e67-a26d-236676c67c76
> Ancestors: Morphic-laza.605
>
> Pick up halo to behave the same as a red-button grab.

This change has an unwelcome side effect. When you pick up a morph 
with the halo, then it will move away, so that the center of the morph 
will be under your mouse pointer.


Levente

>
> =============== Diff against Morphic-laza.605 ===============
>
> Item was changed:
>  ----- Method: HaloMorph>>doGrab:with: (in category 'private') -----
>  doGrab: evt with: grabHandle
>  	"Ask hand to grab my target."
>
>  	self obtainHaloForEvent: evt andRemoveAllHandlesBut: grabHandle.
> + 	evt hand attachMorph: target.
> - 	evt hand grabMorph: target.
>  	self step. "update position if necessary"
>  	evt hand addMouseListener: self. "Listen for the drop"!
>
>
>


More information about the Squeak-dev mailing list