Skip to content

Commit

Permalink
fix: Left edge toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
gou177 authored May 5, 2024
1 parent 25f89c6 commit 918c623
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 918c623

Please sign in to comment.