diff options
author | Gil Arasa Verge <gilarasaverge@gmail.com> | 2020-02-28 00:02:06 +0100 |
---|---|---|
committer | Gil Arasa Verge <gilarasaverge@gmail.com> | 2020-02-28 00:02:06 +0100 |
commit | 35bc88ca34230cf7a62f34d20c960b3e3c669f42 (patch) | |
tree | 25372fe3a3ee171635a661a7cef283cefb72ee56 /drivers/xaudio2/audio_driver_xaudio2.cpp | |
parent | ed0f1940cbdbe470da85f446f315ee12897038a1 (diff) |
Clicking backgrd. dimming of editor popup stops input event propagation
A click on the dimmed background of a popup in the editor should stop the input event from propagating to the background.
This solution reuses the system introduced in commit efc3ffb8, taking advantage of the hide() notifications from the modal where we will set the flag "pass_on_modal_close_click(false)" to stop event handling at the viewport input event handling.
The viewport first hides the modal and after marks the input as handled if the flag mentioned above is set.
Fixes #36341
Diffstat (limited to 'drivers/xaudio2/audio_driver_xaudio2.cpp')
0 files changed, 0 insertions, 0 deletions