Skip to content

Commit

Permalink
replace global Smalltalk by self
Browse files Browse the repository at this point in the history
  • Loading branch information
rvillemeur authored Feb 14, 2024
1 parent 8d2db8c commit a6255fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chapters/Morphic/Morphic.pillar
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ receiver; here it will stay attached to the mouse pointer:
DroppedMorph >> rejectDropMorphEvent: anEvent
| h |
h := anEvent hand.
Smalltalk currentWorld worldState defer: [ h grabMorph: self ].
self currentWorld worldState defer: [ h grabMorph: self ].
anEvent wasHandled: true
]]]

Expand Down

1 comment on commit a6255fd

@Ducasse
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes much better.

Please sign in to comment.