Skip to content

Commit

Permalink
SBEWorldHelper: Fix #spawnHand in Trunk
Browse files Browse the repository at this point in the history
Complements Morphic-mt.1726.
  • Loading branch information
LinqLover authored and codeZeilen committed Apr 13, 2021
1 parent b7ce1f4 commit 3932dce
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ mouseOpenHaloFor: aMorph
stamp: 0.
(aMorph respondsTo: #defaultHaloDispatcher)
ifTrue: [aMorph defaultHaloDispatcher invokeHaloOrMove: event on: aMorph]
ifFalse: ["<Morphic-mt.1732" aMorph invokeHaloOrMove: event].
ifFalse: ["< Morphic-mt.1732 (6.0)" aMorph invokeHaloOrMove: event].
^ self hand halo
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
utils
spawnHand

self world addMorph: (self hand imageForm asMorph
| imageMorph |
imageMorph := self hand imageForm asMorph
topLeft: self hand fullTopLeft;
yourself).
yourself.

(self world respondsTo: #addMorphFrontInLayer:)
ifFalse: ["< Morphic-mt.1726 (6.0)"
self world addMorph: imageMorph.
^ self].

imageMorph morphicLayerNumber: Morph frontmostLayer.
self world addMorphFrontInLayer: imageMorph.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"mouseLeave:" : "tobe 10/3/2019 20:00",
"mouseLeaveDragging:" : "tobe 10/3/2019 20:00",
"mouseMoveTo:buttons:in:" : "ct 10/18/2019 10:32",
"mouseOpenHaloFor:" : "ct 3/17/2021 22:57",
"mouseOpenHaloFor:" : "ct 3/17/2021 23:01",
"mousePress:at:buttons:" : "tobe 10/3/2019 20:00",
"mousePress:buttons:" : "tobe 10/3/2019 20:00",
"mouseRelease:at:buttons:" : "tobe 10/3/2019 20:00",
Expand All @@ -87,7 +87,7 @@
"simulateMouseEvent:" : "ct 1/17/2020 19:09",
"simulateMouseEvent:at:buttons:start:" : "ct 1/17/2020 19:18",
"simulateMouseEvent:at:buttons:start:morph:" : "ct 1/17/2020 19:21",
"spawnHand" : "ct 1/13/2020 19:01",
"spawnHand" : "ct 3/17/2021 23:00",
"takeScreenshot" : "ct 11/24/2019 19:36",
"takeScreenshotOf:" : "ct 11/24/2019 19:36",
"takeScreenshotOfAll:" : "ct 1/17/2020 20:03",
Expand Down

0 comments on commit 3932dce

Please sign in to comment.