[Cuis-dev] set Morph color from menu

Juan Vuletich juan at jvuletich.org
Tue Mar 10 05:47:40 PDT 2020


On 3/9/2020 7:18 PM, ken.dickey--- via Cuis-dev wrote:
> On 2020-03-09 10:11, Juan Vuletich via Cuis-dev wrote:
> ..
>> Please add your #changeColor as an override to Morphic-Misc1.
>> Otherwise we'd be adding 2 undeclared references to the base image.
>
> Wow!  I didn't know you could do that (override a base method in a 
> Package).
>
> Done.
>
> -KenD

Usually we don't advice overriding methods. Especially slight 
modifications of the code in the base image, as they will most likely be 
left behind and break when the base image version changes. But in this 
case, I think it is the best option.

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



More information about the Cuis-dev mailing list