Karl Ramberg uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-kfr.1415.mcz ==================== Summary ==================== Name: Morphic-kfr.1415 Author: kfr Time: 16 April 2018, 9:00:44.326565 pm UUID: fd7edd49-a300-764f-8d5d-fa2d2ad7b65b Ancestors: Morphic-mt.1414 self world can be nil here =============== Diff against Morphic-mt.1414 =============== Item was changed: ----- Method: Morph>>openNear: (in category 'initialization') ----- openNear: aRectangle self openNear: aRectangle + in: Project current world! - in: self world! |
Hi Karl,
On Mon, Apr 16, 2018 at 12:01 PM, <[hidden email]> wrote: in: (self world ifNil: [Project current world])Karl Ramberg uploaded a new version of Morphic to project The Trunk: Shouldn't that be ? If one were using an arbitrary world in which one asked a Morph to open, wouldn't it be strange if that child morph opened up not in the world of the parent but in the current world? Isn't this important enough to provide an accessor such as Morph>>world access theBestOfAllPossibleWorlds ^self world ifNil: [Project current world] _,,,^..^,,,_ best, Candide |
Hi, there. Just replicate the behavior of #openInWorld, which uses "self currentWorld". Best, Marcel
|
Hi, I followed Marcel's advise Best, Karl On Tue, Apr 17, 2018 at 7:52 AM, Marcel Taeumel <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |