Commit 30a19a5
committed
Make
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.mouse_focus and mouse_focus_mask consistent for force_drag1 parent 92e726d commit 30a19a5
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2318 | 2318 | | |
2319 | 2319 | | |
2320 | 2320 | | |
| 2321 | + | |
2321 | 2322 | | |
2322 | 2323 | | |
2323 | 2324 | | |
| |||
0 commit comments