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
It appears that registering a mousepressed_outside input event does not work for all subscribed elements. Instead, it seems to only handle the last element that had it registered. I did some print debugging for the method invocation and it only printed index 1 and I have two input boxes that should be able to run the method.
The text was updated successfully, but these errors were encountered:
So this came down to the event subscription firing. When doing the loop over subs, the loop is broken because of return true since the first element is what was pressed outside of. An alternative solution was to check if sub was true and then return true, but this also isn't efficient in my own testing.
Realistically, I think that there should be a queue system. I don't really know how it might work, but I do think it would fix this issue the best.
It appears that registering a
mousepressed_outside
input event does not work for all subscribed elements. Instead, it seems to only handle the last element that had it registered. I did some print debugging for the method invocation and it only printed index 1 and I have two input boxes that should be able to run the method.The text was updated successfully, but these errors were encountered: