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

TabbedPane clicking a tab makes it invisible #380

Closed
amoustafa18 opened this issue Dec 22, 2022 · 3 comments
Closed

TabbedPane clicking a tab makes it invisible #380

amoustafa18 opened this issue Dec 22, 2022 · 3 comments
Labels

Comments

@amoustafa18
Copy link

Screen Recording 2022-12-22 at 3 53 37 PM

When I click a tab in a TabbedPane, the tab goes invisible (in response to touchUp). I am certain the tab is not closing, the TabbedPane still has the tabs in its internal list. On the latest versions (libGDX 1.11.0, visUI 1.5.2-SNAPSHOT) and running on macOS. I don't have any special code for handling mouse events, so this seems to be out-of-the-box behavior.

@czyzby
Copy link
Collaborator

czyzby commented Dec 22, 2022

Could you post a minimal example of a project that reproduces the issue?

@amoustafa18
Copy link
Author

While stripping out some of my extra code to give a minimal example, I ended up fixing the issue on my end. I realized I was missing a call to super.act in my override of act(). Sorry about this

@czyzby
Copy link
Collaborator

czyzby commented Dec 23, 2022

No worries, glad you figured it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants