r5sdk/r5dev/thirdparty
Kawe Mazidjatari 31845425d6 Only enable/disable input system on open/close events
Previously we enabled/disabled the input system each frame, depending on the state of the ImGui windows. This commit changes the behavior into only enabling/disabling when the menu's are closed (either through the keyboard or the close button).

I added a simple callback to ImGui::Begin which will be called when the close button on the ImGui panel is pressed and the callback pointer isn't nullptr, this was required as there was otherwise no way to determine when the close button was clicked.
2022-10-20 12:29:50 +02:00
..
2022-09-09 19:47:31 +02:00
2022-05-13 17:51:01 +02:00
2022-09-09 19:47:31 +02:00
2022-02-10 00:19:49 +01:00
2022-03-27 22:18:58 +02:00