[Cuis-dev] Form on a vector canvas

Juan Vuletich juan at jvuletich.org
Tue Jan 5 10:07:06 PST 2021


On 1/4/2021 5:53 PM, Juan Vuletich via Cuis-dev wrote:
> Hi Hilaire,
>
> On 1/3/2021 5:42 PM, Hilaire Fernandes via Cuis-dev wrote:
>>
>> Juan,
>>
>> ... To get the expected behavior when clicking the chevron, I have to 
>> write morphContain: to respond always true. It makes the behavior 
>> working when mouseUp (I have not tested the other behaviors). It does 
>> not seem to affect the other behavior of the chevron. 
>
> Well, it is a hack I don't like, but the easiest solution until we 
> draw everything with VectorCanvas, and then #morphContainsPoint: is no 
> longer needed.
>

This is no longer needed. I removed most senders of 
#morphContainsPoint:, in particular the one in PluggableButtonMorph. 
Code is now simpler and nicer.

Thanks,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210105/65223996/attachment.htm>


More information about the Cuis-dev mailing list