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

Console only shows first time #27

Closed
bladecoder opened this issue Aug 14, 2017 · 4 comments
Closed

Console only shows first time #27

bladecoder opened this issue Aug 14, 2017 · 4 comments

Comments

@bladecoder
Copy link

Hi,

I updated from 0.5.3 to 0.7.0 and now the console only shows the first time I push the assigned key.

In my case I have set the key with console.setDisplayKeyID(Keys.F1);

Steps to reproduce it:

  1. Push F1 -> the console shows
  2. Push F1 -> the console hides
  3. Push F1 -> the console doesn't show anymore.

Best Regards.

@aitor3ml
Copy link

same thing happens to me

@aitor3ml
Copy link

aitor3ml commented Aug 14, 2017

Manual toggle in Stage.keyDown will do the trick until we get an answer.

@Override
public boolean keyDown(int keyCode) {
    if (keyCode == console.getDisplayKeyID()) {
        console.setVisible(!console.isVisible());
        return true;
    }
    // ... rest of the code

@StrongJoshua
Copy link
Owner

I am currently without a computer, but I will investigate this as soon as I am able.

StrongJoshua added a commit that referenced this issue Aug 16, 2017
@StrongJoshua
Copy link
Owner

This should be fixed in 0.7.1
Please let me know of any other issues should they arise!

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

3 participants