Skip to content

Commit

Permalink
fixed disassembly table initial position
Browse files Browse the repository at this point in the history
  • Loading branch information
BoyC committed Apr 10, 2024
1 parent 9dbdafe commit ed61436
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1253,8 +1253,9 @@ INT WINAPI WinMain( _In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
// Lower part of the left area
ImGui::BeginChild( "Code View", ImVec2( -1, -1 ), ImGuiChildFlags_None );
{
windowSize = ImGui::GetContentRegionAvail();
const float codeSplitPixelPos = windowSize.x * codeSplitterPos;
ImGui::BeginChild( "left side", ImVec2( verticalSplitPixelPos, -1 ), ImGuiChildFlags_Border | ImGuiChildFlags_ResizeX );
ImGui::BeginChild( "left side", ImVec2( codeSplitPixelPos, -1 ), ImGuiChildFlags_Border | ImGuiChildFlags_ResizeX );
{
DrawCodeView();
ImGui::EndChild();
Expand Down

0 comments on commit ed61436

Please sign in to comment.