When clicking the button to add a new TestTile the ScriptEditor is
unresponsive to place the TestTile because the tile newer signaled
a mouseEnter to the ScriptEditor.
This is a fix for that.
'From Squeakland 3.8-05 of 7 September 2005 [latest update: #528] on 24 January 2006 at 9:24:44 pm'!
!ScriptEditorMorph methodsFor: 'buttons' stamp: 'kfr 1/24/2006 21:23'!
addYesNoToHand
"Place a test/yes/no complex in the hand of the beloved user"
| ms messageNodeMorph aMorph |
Preferences universalTiles
ifTrue:
[ms _ MessageSend receiver: true selector: #ifTrue:ifFalse:
arguments: {['do nothing']. ['do nothing']}.
messageNodeMorph _ ms asTilesIn: playerScripted class globalNames: true.
self primaryHand attachMorph: messageNodeMorph]
ifFalse:
[aMorph _ CompoundTileMorph new.
ActiveHand attachMorph: aMorph.
aMorph setNamePropertyTo: 'TestTile' translated.
aMorph position: ActiveHand position.
aMorph formerPosition: ActiveHand position.
self startSteppingSelector: #trackDropZones.]! !
_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland