Godot UI is quick and snappy again!
Changed linked listed sort to use auxiliary memory this fixes user interface performance issues.
This commit is contained in:
@ -2267,8 +2267,10 @@ void Control::_window_sort_subwindows() {
|
||||
if (!window->subwindow_order_dirty)
|
||||
return;
|
||||
|
||||
|
||||
window->modal_stack.sort_custom<CComparator>();
|
||||
window->subwindows.sort_custom<CComparator>();
|
||||
|
||||
window->subwindow_order_dirty=false;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user