1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-07 19:53:17 +00:00

-Fix input bug on window ordering due to foretting to sort root items

This commit is contained in:
Juan Linietsky
2016-01-25 10:39:55 -03:00
parent 5245adcf81
commit 094f0767d8

View File

@@ -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();