From 918c62321ebf8d5e7621f6f8a75f7d1999d1feea Mon Sep 17 00:00:00 2001 From: gou177 Date: Sun, 5 May 2024 16:11:17 +0500 Subject: [PATCH] fix: Left edge toolbar --- src/hello_imgui/internal/docking_details.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hello_imgui/internal/docking_details.cpp b/src/hello_imgui/internal/docking_details.cpp index 581272d1..2f83c135 100644 --- a/src/hello_imgui/internal/docking_details.cpp +++ b/src/hello_imgui/internal/docking_details.cpp @@ -345,7 +345,7 @@ ImRect FixedWindowRect( if ( edgeToolbarType == EdgeToolbarType::Left) { auto width = HelloImGui::EmSize( - runnerParams.callbacks.edgesToolbars.at(EdgeToolbarType::Right).options.sizeEm); + runnerParams.callbacks.edgesToolbars.at(EdgeToolbarType::Left).options.sizeEm); fullScreenSize.x = width; } if ( edgeToolbarType == EdgeToolbarType::Right) @@ -578,4 +578,4 @@ std::optional DockingParams::dockSpaceIdFromName(const std::string& doc } -} // namespace HelloImGui \ No newline at end of file +} // namespace HelloImGui