'From etoys3.0 of 24 February 2008 [latest update: #2012] on 15 June 2008 at 11:59:00 pm'! "Change Set: dropFix-sw Date: 16 June 2008 Author: Scott Wallace TRAC Ticket #7268: Attempt to "duplicate" a tile phrase can leave invisible detritus on the desktop. A workaround for a phenomenon reported by Antonio Moreno: if the user uses the green 'duplicate' handle to make a copy of an AlignmentMorph which is wrapped around a phrase in a Scriptor, then drops the result on the desktop, then picks it up again, it leaves behind an empty, transparent AlignmentMorph. This is an explicit fix for the phenomenon; it does not address the more general (and arguably intractable) issue that any user can use halo clicks to get a halo on any object in any structure, and can then duplicate that object, to get something which may *look* like something he wants but which may in fact be an invisible object one or more steps up or down the containment hierarchy, and which hence may not have the desired behavior when set loose in the wild."! !AlignmentMorph methodsFor: 'e-toy support' stamp: 'sw 6/15/2008 23:59'! morphToDropInPasteUp: aPasteUp "Answer the morph to drop in aPasteUp, given that the receiver is the putative droppee" ^ ((self class == AlignmentMorph) and: [submorphs size = 1] and: [submorphs first isTileScriptingElement]) ifFalse: [super morphToDropInPasteUp: aPasteUp] ifTrue: [submorphs first morphToDropInPasteUp: aPasteUp]! !