mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Enable a dockspace, so you can dock windows to the sides of the screen
This commit is contained in:
1 parent
fa3321ca0c
commit
60e244291a
2 files changed
+3
-1
No files matched your search
@@ -3067,7 +3067,7 @@ void TextureCacheCommon::DrawImGuiDebug(uint64_t &selectedTextureId) const {
|
||||
ImVec2 avail = ImGui::GetContentRegionAvail();
|
||||
auto &style = ImGui::GetStyle();
|
||||
ImGui::BeginChild("left", ImVec2(140.0f, 0.0f), ImGuiChildFlags_ResizeX);
|
||||
float window_visible_x2 = ImGui::GetCursorPosX() + ImGui::GetContentRegionAvail().x;
|
||||
float window_visible_x2 = ImGui::GetCursorScreenPos().x + ImGui::GetContentRegionAvail().x;
|
||||
|
||||
// Global texture stats
|
||||
int replacementStateCounts[(int)ReplacementState::COUNT]{};
|
||||
|
||||
@@ -1686,6 +1686,8 @@ void EmuScreen::renderImDebugger() {
|
||||
io.AddKeyEvent(ImGuiMod_Alt, keyAltLeft_ || keyAltRight_);
|
||||
// io.AddKeyEvent(ImGuiMod_Super, e.key.super);
|
||||
|
||||
ImGui::DockSpaceOverViewport(0, ImGui::GetMainViewport(), ImGuiDockNodeFlags_PassthruCentralNode);
|
||||
|
||||
imDebugger_->Frame(currentDebugMIPS, gpuDebug);
|
||||
|
||||
ImGui::Render();
|
||||
|
||||
Reference in new issue
Block a user