[Cuis] Default Morph position something other than 0 @ 0?

Dan Norton dnorton at mindspring.com
Sun Jul 12 21:20:55 CDT 2015


On 12 Jul 2015 at 18:02, Edgar J. De Cleene wrote:

> 
> 
> 
> On 7/12/15, 5:23 PM, "Phil (list)" <pbpublist at gmail.com> wrote:
> 
> > I think a recent example was the Dan's BouncingAtomsMorph which
> could
> > not be invoked from the New Morph... menu until I submitted a fix.
> It
> > was an easy fix and I run into this problem quite often in the
> early
> > stages of Morph development.  openInHand calls doOneCycleNow (or
> maybe
> > it's doOneCycle... I forget which) which results in the Morph
> needing to
> > draw earlier than with openInWorld.  This is a problem if the
> Morph
> > isn't fully initialized and ready to be drawn yet.  It's not a big
> deal,
> > just part of how I develop Morphs and why I use openInWorld until
> I get
> > things sorted out.  Also, when I'm developing a Morph I'm
> usually
> > invoking it from a workspace or code browser and don't want to
> be
> > dealing with it interactively yet since it usually isn't fully
> > functional anyway.
> 
> Very instructive.
> Thanks a lot.
> 
> Edgar
>

Yes, thank you Phil for the fix. I needed to learn that. I put the history of the change on:

https://github.com/dhnorton/Cuis-Smalltalk-atoms

The commit is "343a986"  "starts from new morph menu"

 - Dan





More information about the Cuis mailing list