mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 03:24:49 +00:00
Devtools: Close Button ( X ) (#2187)
This commit is contained in:
parent
a7d45231b7
commit
c8bbecda26
1 changed files with 6 additions and 0 deletions
|
@ -93,6 +93,12 @@ void L::DrawMenuBar() {
|
|||
}
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
SameLine(ImGui::GetWindowWidth() - 30.0f);
|
||||
if (Button("X", ImVec2(25, 25))) {
|
||||
DebugState.IsShowingDebugMenuBar() = false;
|
||||
}
|
||||
|
||||
EndMainMenuBar();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue