-Fix input bug on window ordering due to foretting to sort root items
This commit is contained in:
parent
5245adcf81
commit
094f0767d8
1 changed files with 2 additions and 0 deletions
|
|
@ -1493,6 +1493,8 @@ Control* Viewport::_gui_find_control(const Point2& p_global) {
|
|||
return ret;
|
||||
}
|
||||
|
||||
_gui_sort_roots();
|
||||
|
||||
for (List<Control*>::Element *E=gui.roots.back();E;E=E->prev()) {
|
||||
|
||||
Control *sw = E->get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue