[Cuis-dev] [Integrated] Re: Morph #redrawNeeded double send
Juan Vuletich
juan at jvuletich.org
Fri Aug 23 05:06:38 PDT 2019
On 8/22/2019 1:13 PM, Phil B wrote:
> Doh... of course you're right. A bit more testing would have 'shown'
> that ;-) Short of renaming the method, how about this comment to make
> it clear...
>
> On Thu, Aug 22, 2019 at 8:53 AM Juan Vuletich <juan at jvuletich.org
> <mailto:juan at jvuletich.org>> wrote:
>
> 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 <http://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
>
@ GitHub now. Thanks!
Cheers,
--
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/20190823/465e5dc6/attachment.htm>
More information about the Cuis-dev
mailing list