<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
-1<div><br></div><div>#currentWorld is like a global. Can you think of a better solution for MorphicHierarchy? :-)</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
<p style="color: #AAAAAA; margin-top: 10px;">Am 29.02.2020 11:34:05 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p><div style="font-family:Arial,Helvetica,sans-serif">Christoph Thiede uploaded a new version of Morphic to project The Inbox:<br>http://source.squeak.org/inbox/Morphic-ct.1633.mcz<br><br>==================== Summary ====================<br><br>Name: Morphic-ct.1633<br>Author: ct<br>Time: 29 February 2020, 11:33:45.993896 am<br>UUID: f258f893-f17e-f245-af98-b875a4701f7e<br>Ancestors: Morphic-mt.1631<br><br>Fixes MorphicHierarchy, which was broken because #world is nil before opening the list in the world.<br><br>=============== Diff against Morphic-mt.1631 ===============<br><br>Item was changed:<br> ----- Method: MorphHierarchyListMorph>>createContainer (in category 'private') -----<br> createContainer<br> "Private - Create a container"<br> | container |<br> container := BorderedMorph new.<br>+ container extent: (self currentWorld extent * (1 / 4 @ (2 / 3))) rounded.<br>- container extent: (self world extent * (1 / 4 @ (2 / 3))) rounded.<br> container layoutPolicy: TableLayout new.<br> container hResizing: #rigid.<br> container vResizing: #rigid.<br> container<br> color: (Color gray: 0.9);<br> borderWidth: 1;<br> borderColor: Color gray.<br> container layoutInset: 0.<br> "container useRoundedCorners."<br> ""<br> container setProperty: #morphHierarchy toValue: true.<br> container setNameTo: 'Objects Hierarchy' translated.<br> ""<br> ^ container!<br><br><br></div></blockquote>
</div></body>