Open somekindadude opened 3 years ago
I believe right now, a click on an avatar won't trigger the click on a furniture behind it.
The only thing not working correctly right now is the tile click when you click on Avatar/Furniture, since they are not using the same event manager. We should make it so they exist in the same event manager, so we can handle it accordingly.
I believe there should be enough options with
event.stopPropagation()
event.skip()
event.skipExcept()
@somekindadude what do you think?
There needs to be a way to stop propagation between the click events for item, avatar and rooms. E.g. when you click an avatar you don't click through to the room or the item. This makes it a little difficult to cancel walking or decide when to hide infostand elements when a blank space is clicked.
It would be better if there was a single event that fired rather than 3 events for each.