Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
smilefx opened this issue Mar 20, 2023 · 1 comment
Open

Comments

@smilefx
Copy link
Contributor

smilefx commented Mar 20, 2023

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:

  • OS: Windows 10
  • Java version: OpenJDK 15
@smilefx
Copy link
Contributor Author

smilefx commented Mar 20, 2023

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

@smilefx smilefx changed the title [bgw-gui] isDisabled cannot be reset in DelayAnimation [bgw-gui] Allow Animations in MenuScene instead of only BoardGameScene Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant