<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Georgia">(r _ RectangleMorph new extent: 500@500)<br>
          openInHand;<br>
          position: r center<br>
      <br>
      Cheers,<br>
      Bob<br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 5/28/13 6:05 PM, Chris Muller wrote:<br>
    </div>
    <blockquote
cite="mid:CANzdToFh=eBgbk0rvPQXMpwLcy426ueiNznF4qOdJrhZEPA4BA@mail.gmail.com"
      type="cite">
      <pre wrap="">I'm using #openInHand, which opens my morph, centered under the hand.
I want to open it in the hand, but attached near the upper left corner
rather than the center.

To do this, I factored the temp var "delta" calculation out of
HandMorph&gt;&gt;#attachMorph:, so it would take an argument instead,
attachMorph: aMorph at: delta.  Regular attachMorph now calls it
passing in the center point.

Now I have an attach API that accepts an offset, guess I just need to
support openInHand: offset to call the new #attachMorph:at:.

(Sigh) It works but is there a better way to do this?


</pre>
    </blockquote>
    <br>
  </body>
</html>