Closed KarateSnoopy closed 2 years ago
Thanks,will check up it
Now it should be fixed. When components are loaded, they use previous texture for the new state until new one is loaded.
PS: There is a not nice visual effect when components are loading first time (there are no textures ready). But this is out of this task (new issue should be created).
thanks
Might be something I'm doing wrong but when I load the simple example I see a quick single flicker, and later after I move my mouse cursor over the dialog I see flicker.
I debugged it down to draw() internally creates an AsyncTexturePtr if its not yet cached based on if mMouseFocus is true or not. I fixed it by adding a loadTex() API to widget and doing basically:
Then calling this at startup.
This avoids any runtime flickering.
No idea if I'm on the right track to solving this, but fyi in case any one hits this.