Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix figure Morphic/detachingMenu #103

Merged
merged 2 commits into from
Apr 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ mouseOpenHaloFor: aMorph
buttons: (self mapButtons: #(middle))
hand: self hand
stamp: 0.
aMorph invokeHaloOrMove: event.
(aMorph respondsTo: #defaultHaloDispatcher)
ifTrue: [aMorph defaultHaloDispatcher invokeHaloOrMove: event on: aMorph]
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 1/13/2020 16:42",
"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