-
Notifications
You must be signed in to change notification settings - Fork 2
Checkbox Widget Doesn't toggle state #2
Copy link
Copy link
Open
Description
First off, let me say I absolutely love what this library is trying to do and would very much like to see it finished.
In playing around with it, it seems the checkbox widget doesn't actually update the toggle variable when clicked. Investigating seems that the issue is that the if statement on line 44 of CheckBox.lua never is satisfied because the id is updated before it evaluates lastActiveItem.
I was able to get it to work by swapping out the if statement for the same one used in Button.lua
if uiState.hotItem==id and uiState.activeItem==id then
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels