<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 4/4/2021 1:20 PM, Luciano Notarfrancesco via Cuis-dev wrote:
    <blockquote
cite="mid:CAL5GDyot4gXr1BaSW7Nnv8w=yahMOhAYbJOf5o7PX1JJ+m=U+Q@mail.gmail.com"
      type="cite">
      <div dir="auto">I think the redrawNeeded is there to force the
        target morph to redraw, and since it now has a halo the canvas
        will draw the coordinate system. But I don’t understand why it
        has to be made like that, why does the canvas have to know
        anything about halos, why cant HaloMorph draw the coordinate
        system instead?</div>
    </blockquote>
    <br>
    In the current design, a HaloMorph is submorph of the world, and has
    no owner / submorph relationship with its target Morph. So, it
    doesn't really know anything about the coordinate system of the
    target. The object that knows how coordinate systems get transformed
    by morphs is the Canvas, as it traverses the World morph tree to
    draw morphs. It felt like a convenient place to do it. It is
    possible that we find a better / nicer design, though. If play a bit
    with this stuff, maybe you can suggest an alternative.<br>
    <br>
    Thanks!<br>
    <br>
    <blockquote
cite="mid:CAL5GDyot4gXr1BaSW7Nnv8w=yahMOhAYbJOf5o7PX1JJ+m=U+Q@mail.gmail.com"
      type="cite">
      <div><br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Sun, 4 Apr 2021 at 10:58
            PM Pat Foley via Cuis-dev <<a moz-do-not-send="true"
              href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin: 0px 0px 0px
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">One more point I hadn't checked before:<br>
            <br>
            If you go ahead and apply 4548, and then in a workspace do<br>
            <br>
              w _ TheWorldMenu new buildWorldMenu.<br>
              w popUpInWorld addHalo.<br>
            <br>
            then the halos are in the right place to start with, but
            unresponsive.<br>
            <br>
            So I guess next is to look at what makes halos act like
            halos?!<br>
            -- <br>
            Cuis-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
            <a moz-do-not-send="true"
              href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
              rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
  </body>
</html>