cleaning pasteUpMorph
there is currentHand, primaryHandâ¦.. and lovely code like that primaryHand | outer | outer := self outermostWorldMorph ifNil: [^ nil]. ^ outer activeHand ifNil: [outer firstHand]
We will have also to clarify the invariant between hands first and currentHand (pointing to the global ActiveHand). Stef On Jun 27, 2013, at 6:45 PM, Stéphane Ducasse <Stephane.Ducasse@inria.fr> wrote:
there is currentHand, primaryHandâ¦.. and lovely code like that
primaryHand
| outer | outer := self outermostWorldMorph ifNil: [^ nil]. ^ outer activeHand ifNil: [outer firstHand]
We should also remove ActiveWorld since there is already World as global! Stef On Jun 27, 2013, at 6:53 PM, Stéphane Ducasse <Stephane.Ducasse@inria.fr> wrote:
We will have also to clarify the invariant between
hands first and currentHand (pointing to the global ActiveHand).
Stef On Jun 27, 2013, at 6:45 PM, Stéphane Ducasse <Stephane.Ducasse@inria.fr> wrote:
there is currentHand, primaryHandâ¦.. and lovely code like that
primaryHand
| outer | outer := self outermostWorldMorph ifNil: [^ nil]. ^ outer activeHand ifNil: [outer firstHand]
participants (2)
-
Stéphane Ducasse -
Stéphane Ducasse