window->Flags&=~ImGuiWindowFlags_NoTitleBar;// Clear the NoTitleBar flag in case the user set it: confusingly enough we need a title bar height so we are correctly offset, but it won't be displayed!
window->Flags&=~ImGuiWindowFlags_NoTitleBar;// Clear the NoTitleBar flag in case the user set it: confusingly enough we need a title bar height so we are correctly offset, but it won't be displayed!
// Save new dock order only if the tab bar has been visible once.
// Save new dock order only if the window has been visible once already
// This allows multiple windows to be created in the same frame and have their respective dock orders preserved.
// This allows multiple windows to be created in the same frame and have their respective dock orders preserved.