You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: