[Laszlo-dev] Double painting of zoomed image, although there is just one call
Marc Bachstein
bachstein at visus-tt.com
Mon Mar 10 02:12:57 PDT 2008
Hello,
I have written an application in which you can switch the image by clicking
on a navigation button. It is also possible to zoom into the image. When you
switch to another image the zoom factor keeps at the same value.
Now there is a problem. If the zoom factor is different from 1, the image is
firstly visible in 100% and after a subsecond the image is shown in the
desired zoom setting. This causes a weird flickering as the image is painted
twice.
As there is just one call of newImgView.setSource(imgUrl, "none") I
wanted to know whether this is bug in Laszlo and how I can avoid the double
painting of the image.
Thanks in advance and best regards,
Marc
More information about the Laszlo-dev
mailing list