Skip to content

Commit

Permalink
Merge pull request #108 from gou177/patch-1
Browse files Browse the repository at this point in the history
fix: Left edge toolbar
  • Loading branch information
pthom authored May 6, 2024
2 parents 49a5faf + 918c623 commit 737d45b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hello_imgui/internal/docking_details.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -578,4 +578,4 @@ std::optional<ImGuiID> DockingParams::dockSpaceIdFromName(const std::string& doc
}


} // namespace HelloImGui
} // namespace HelloImGui

0 comments on commit 737d45b

Please sign in to comment.