mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 03:24:49 +00:00
imgui: central node auto-hide tab (#2174)
This commit is contained in:
parent
0cee59cbe6
commit
4e8c178aec
1 changed files with 2 additions and 1 deletions
|
@ -186,7 +186,8 @@ ImGuiID NewFrame(bool is_reusing_frame) {
|
|||
Sdl::NewFrame(is_reusing_frame);
|
||||
ImGui::NewFrame();
|
||||
|
||||
ImGuiWindowFlags flags = ImGuiDockNodeFlags_PassthruCentralNode;
|
||||
ImGuiWindowFlags flags =
|
||||
ImGuiDockNodeFlags_PassthruCentralNode | ImGuiDockNodeFlags_AutoHideTabBar;
|
||||
if (!DebugState.IsShowingDebugMenuBar()) {
|
||||
flags |= ImGuiDockNodeFlags_NoTabBar;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue