If I stop the widget animation quickly after playing, an afterimage will remain.
This afterimage is a widget managed by index 1 at the below of the switcher.
To erase this afterimage during game play, I try changing the switcher index to 0, changing the render opacity to 0, or changing the parent’s visibility to Collapsed, but this afterimage does not go away.
What’s surprising is that numbers 0 and 1 of the switcher are shown at the same time.
(But as a result of debugging, the active index is 0. )
The only way I’ve found to clear dirty is to adjust the screen size. (Make it full screen or change the width and length)
What causes this problem?
How can I clear the dirt without changing the window size during the game?