diff options
| author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2024-05-02 00:10:29 +0200 |
|---|---|---|
| committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2024-05-02 00:10:29 +0200 |
| commit | 30a19a5c2f6293f8b1fff7fa1fa927f7d1f69fa0 (patch) | |
| tree | d386d7ae119f1543792b61d9c7d7e06b4ab0d2e8 /drivers/opengl/shader_opengl.cpp | |
| parent | 92e726d8dc27d9f9b377224d6fa776b0d42ca5c2 (diff) | |
| download | redot-engine-30a19a5c2f6293f8b1fff7fa1fa927f7d1f69fa0.tar.gz | |
Make `mouse_focus` and `mouse_focus_mask` consistent for force_drag
In `Viewport::_gui_force_drag` currently `Viewport::gui.mouse_focus`
gets cleared, but `Viewport::gui.mouse_focus_mask` doesn't get cleared.
This is an inconsistency which can cause a crash.
With the change of this PR, `mouse_focus_mask` also gets cleared.
This is in alignment with how regular drag and drop clears both variables.
Diffstat (limited to 'drivers/opengl/shader_opengl.cpp')
0 files changed, 0 insertions, 0 deletions
