commit | 5dd1e38b7a5a6ed6c6d94c54c6eb54ba3a88ed81 | [log] [tgz] |
---|---|---|
author | Rokas Kupstys <rokups@zoho.com> | Fri Jul 09 19:45:30 2021 +0200 |
committer | ocornut <omarcornut@gmail.com> | Fri Jul 09 19:54:46 2021 +0200 |
tree | 77ce899fb5ef1a98076a5d73b36a8a2ebec6bb79 | |
parent | cac869b333a38d830fbdd8178a9e8848abe61177 [diff] |
Disabled: disabled items set HoveredId, allowing e.g. HoveredIdTimer to function. (#211, #3419) + Menus: fix hovering a disabled menu or menu item not closing other menus. Rework of https://github.com/rokups/imgui/commit/c24b470 Note that the declared intent of that commit "Prevents window from being dragged if mouse hovers a disabled item." was already fullfilled by a876ad87. Changes in ButtonBehavior() not needed anymore since ImGuiButtonFlags_Disabled is gone