Projects
AGS Engine | GUI | Buttons are not redrawn if their gfx are changed in Room_AfterFadeIn |
---|---|---|
Crimson Wizard | If you repeatedly change button's NormalGraphic, doing Wait(1) in between, or just animate a button and try waiting until animation finishes in Room's "AfterFadeIn" function, the buttons won't be redrawn until the function ends. This is different from characters and room objects being normally updated in AfterFadeIn. I suspect this has something to do with requirements for redrawing a button (due to engine trying to optimize things for software renderer). |