mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 08:52:36 +00:00
imgui: central node auto-hide tab
This commit is contained in:
parent
0cee59cbe6
commit
3e4a0c7345
@ -186,7 +186,8 @@ ImGuiID NewFrame(bool is_reusing_frame) {
|
|||||||
Sdl::NewFrame(is_reusing_frame);
|
Sdl::NewFrame(is_reusing_frame);
|
||||||
ImGui::NewFrame();
|
ImGui::NewFrame();
|
||||||
|
|
||||||
ImGuiWindowFlags flags = ImGuiDockNodeFlags_PassthruCentralNode;
|
ImGuiWindowFlags flags =
|
||||||
|
ImGuiDockNodeFlags_PassthruCentralNode | ImGuiDockNodeFlags_AutoHideTabBar;
|
||||||
if (!DebugState.IsShowingDebugMenuBar()) {
|
if (!DebugState.IsShowingDebugMenuBar()) {
|
||||||
flags |= ImGuiDockNodeFlags_NoTabBar;
|
flags |= ImGuiDockNodeFlags_NoTabBar;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user