mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Fixed copy/paste error in DebugModeWindow() (#8094)
This commit is contained in:
parent
4994e75852
commit
062e580436
1 changed files with 1 additions and 1 deletions
|
|
@ -16351,7 +16351,7 @@ void ImGui::DebugNodeWindow(ImGuiWindow* window, const char* label)
|
||||||
for (int layer = 0; layer < ImGuiNavLayer_COUNT; layer++)
|
for (int layer = 0; layer < ImGuiNavLayer_COUNT; layer++)
|
||||||
{
|
{
|
||||||
ImRect r = window->NavRectRel[layer];
|
ImRect r = window->NavRectRel[layer];
|
||||||
if (r.Min.x >= r.Max.y && r.Min.y >= r.Max.y)
|
if (r.Min.x >= r.Max.x && r.Min.y >= r.Max.y)
|
||||||
BulletText("NavLastIds[%d]: 0x%08X", layer, window->NavLastIds[layer]);
|
BulletText("NavLastIds[%d]: 0x%08X", layer, window->NavLastIds[layer]);
|
||||||
else
|
else
|
||||||
BulletText("NavLastIds[%d]: 0x%08X at +(%.1f,%.1f)(%.1f,%.1f)", layer, window->NavLastIds[layer], r.Min.x, r.Min.y, r.Max.x, r.Max.y);
|
BulletText("NavLastIds[%d]: 0x%08X at +(%.1f,%.1f)(%.1f,%.1f)", layer, window->NavLastIds[layer], r.Min.x, r.Min.y, r.Max.x, r.Max.y);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue