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

ListBox Items Selectable Through GUI #19

Closed
SweetAlmighty opened this issue May 8, 2020 · 2 comments
Closed

ListBox Items Selectable Through GUI #19

SweetAlmighty opened this issue May 8, 2020 · 2 comments

Comments

@SweetAlmighty
Copy link

First off, I wanted to say thanks for the library! It's been great to work with, and was exactly what I was looking for to start on my Animation tool project.

The attached gif shows an issue I noticed, where a list box item that was offscreen would be selected if I attempted to select a different UI element that was being drawn over that list box item

listbox

I noticed that there is "Slab.IsControlHovered()", and I was able to use that to determine if the list box item should be selected. I was wondering if that was the expected way to get around this issue, or if there were any plans to fix this inside the library.

Thanks in advanced for your reply!

@coding-jackalope
Copy link
Collaborator

Hi, thanks for the report. Using "Slab.IsControlHovered()" should be a good temporary fix for now, but I will have a proper fix in for the next update. Will update this thread once the fix is in.

coding-jackalope added a commit that referenced this issue May 10, 2020
Fix for issue #19. User was able to select items outside of the list box.
@coding-jackalope
Copy link
Collaborator

This issue has been fixed in release v0.6.4. The commit can be found here f673a39.

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

2 participants