Hazel
Hazel copied to clipboard
Was bitwise OR intended here?
https://github.com/TheCherno/Hazel/blob/a16f605b3aa82ecf1c47ebd5d505127de81028f2/Hazel/src/Hazel/Events/Event.h#L71
Do you want an already handled event to still be dispatched? If so, no change.
If not, this line needs short-circuiting (and a logical OR): m_Event.Handled = m_Event.Handled || func(static_cast<T&>(m_Event));