tudo-aqua / bgw

BoardGameWork
https://tudo-aqua.github.io/bgw/
Apache License 2.0
24 stars 16 forks source link

[bgw-gui] Allow Animations in MenuScene instead of only BoardGameScene #370

Open smilefx opened 1 year ago

smilefx commented 1 year ago

Describe the bug The isDisabled property for a TextField does not get reset after DelayAnimation is finished.

To Reproduce Steps to reproduce the behavior assuming textInput is a BGW-GUI TextField:

textInput.isDisabled = true

playAnimation(
    DelayAnimation(1000).apply {
        onFinished = {
            textInput.isDisabled = false
        }
    )
)

Expected behavior isDisabled getting set to false and the input redrawn again.

Please complete the following information:

smilefx commented 1 year ago

Animations cannot be played in MenuScene - Adjust to feature-request.