mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-16 01:37:57 -05:00
Make key handler map a multimap to be able to support multiple handlers for the same key
This commit is contained in:
@ -46,7 +46,7 @@ namespace menu
|
||||
std::unique_ptr<CommonEventHandlerSet> m_on_close;
|
||||
std::unique_ptr<CommonEventHandlerSet> m_on_request_close;
|
||||
std::unique_ptr<CommonEventHandlerSet> m_on_esc;
|
||||
std::map<int, std::unique_ptr<CommonEventHandlerSet>> m_key_handlers;
|
||||
std::multimap<int, std::unique_ptr<CommonEventHandlerSet>> m_key_handlers;
|
||||
|
||||
bool m_full_screen = false;
|
||||
bool m_screen_space = false;
|
||||
|
Reference in New Issue
Block a user