[Cuis-dev] Morph #redrawNeeded double send

Juan Vuletich juan at jvuletich.org
Thu Aug 22 05:53:06 PDT 2019


On 8/22/2019 4:30 AM, Phil B via Cuis-dev wrote:
> A minor fix...

Well, that was not a bug, really. #redrawNeeded should better be named 
#invalidateDisplayArea or such. What it does is to add the affected 
pixels to the list of dirty rectangles. So it is needed to be done both 
before moving it (to update the now uncovered pixels), and after moving 
it (to properly draw the morph at its new position).

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