On 5 September 2012 13:07, S Krish <[email protected]> wrote:
> Call it error / removable property rendering on drawOn:
>
> For:
>
> #stepTime
>
>   ^5000.
>
>
> #drawOn: aCanvas
>
>   super drawOn: aCanvas.
>
>   "Other draw routines: draw other submorphs, lines etc.. "
>
>   self borderStyle:  aStyleSetBasedOnTime .
>
setting the border style in drawOn method is a mistake indeed.
because changing any visual properties of morph with add a damage rectangle to
display, and that means that given morph will be constantly get
redrawn, because it is
always requests to be updated (since a visual property set)..

>   "This one statement makes it draw immediately.. for all morphs remove this
> it works like a charm rendering only every 5 seconds..stupid and obviously
> not a big need.. but in case needed.. better not placed here.."
>
>
>    Are there any other caveats is not known for now.. but its ok for now...
>

-- 
Best regards,
Igor Stasenko.

Reply via email to