mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-14 00:34:18 +00:00
ImDrawList: small debug-mode optimization when calling AddRect() without rounding + Selectable: small debug-mode optimization.
# Conflicts: # imgui_widgets.cpp
This commit is contained in:
parent
8c497793f9
commit
3816d478df
3 changed files with 8 additions and 8 deletions
|
|
@ -9577,9 +9577,6 @@ ImVec2 ImGui::GetCursorScreenPos()
|
|||
return window->DC.CursorPos;
|
||||
}
|
||||
|
||||
// 2022/08/05: Setting cursor position also extend boundaries (via modifying CursorMaxPos) used to compute window size, group size etc.
|
||||
// I believe this was is a judicious choice but it's probably being relied upon (it has been the case since 1.31 and 1.50)
|
||||
// It would be sane if we requested user to use SetCursorPos() + Dummy(ImVec2(0,0)) to extend CursorMaxPos...
|
||||
void ImGui::SetCursorScreenPos(const ImVec2& pos)
|
||||
{
|
||||
ImGuiWindow* window = GetCurrentWindow();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue