[Cuis-dev] Morph Layer

Hilaire Fernandes hilaire at drgeo.eu
Thu Oct 14 01:04:35 PDT 2021


Hi Juan,

Thanks for the enhancement. It can be broadly very useful.

Two observations:

  * I noted that while I am creating a line, the toolbar has some issue
    in the drawing: see the different vertical tints of green in the
    attached screenshot. It happens when there is a #redrawNeeded
    message sent to one specific morph underneath.

  * Balloon appears behind the morph. The difficulties are in the
    details! So the balloon should always be the top level, then you
    want the morph responding true to wantsToBeOnTop to stick to
    position two. Or may be balloon morph on position zero and
    wantsToBeOnTop number one. Something like that.


Thanks!

Take care


Le 14/10/2021 à 05:16, Juan Vuletich a écrit :
> Hi Hilaire,
>
> Check the attach. It is a first sketch, but it seems to work. All you 
> need to do is `aMorph wantsToBeOnTop: true`.
>
> Note that when you pick a morph with the hand, you are effectively 
> removing it from the world, so while it is being taken with the hand 
> it will appear above the "top" morphs. When you drop it, it will go 
> behind them.
>
> We could have several layers, if that is needed.
>
> Try it and tell if it works for your needs.
>
> Thanks,

-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211014/1ec8b074/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran de 2021-10-14 09-42-42.png
Type: image/png
Size: 56866 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211014/1ec8b074/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran de 2021-10-14 09-52-45.png
Type: image/png
Size: 64916 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211014/1ec8b074/attachment-0003.png>


More information about the Cuis-dev mailing list