Skip to content

Commit

Permalink
core: allow passing nil to pickUp:
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95 committed Sep 1, 2023
1 parent 5c9c15c commit 4985e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/Sandblocks-Core/SBBlock.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -2210,7 +2210,7 @@ SBBlock >> pickUp: anEvent [
self containingBlock ifNotNil: [:b | (b sandblockBlockColorIfAbsent: [nil]) ifNotNil: [:c | s color: c]].

s addMorphBack: self dragTarget.
anEvent hand grabMorph: s.
(anEvent ifNotNil: #hand ifNil: [self currentHand]) grabMorph: s.
editor
select: nil;
noteToggleDrag: true.
Expand Down

0 comments on commit 4985e1d

Please sign in to comment.