Skip to content

Commit

Permalink
Fix ImGui windows being stretched on window move
Browse files Browse the repository at this point in the history
Fix taken from commit related to ocornut/imgui#5057
Will come in properly in when I update ImGui.
Closes #890
  • Loading branch information
chreden committed Feb 25, 2022
1 parent ecbd73e commit b021622
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions external/imgui/imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4035,6 +4035,7 @@ static void TranslateWindow(ImGuiWindow* window, const ImVec2& delta)
window->DC.CursorPos += delta;
window->DC.CursorStartPos += delta;
window->DC.CursorMaxPos += delta;
window->DC.IdealMaxPos += delta;
}

static void ScaleWindow(ImGuiWindow* window, float scale)
Expand Down

0 comments on commit b021622

Please sign in to comment.