Fixed GetScrollMaxX() debug left-over from 7096fd8500 (#1271)

docking
omar 8 years ago
parent 0ab722c3c5
commit a1bcc8392e

@ -5272,7 +5272,7 @@ float ImGui::GetScrollY()
float ImGui::GetScrollMaxX()
{
ImGuiWindow* window = GetCurrentWindowRead();
return ImMax(0.0f, window->SizeContents.x - (window->SizeFull.x - window->ScrollbarSizes.x) + 50);
return ImMax(0.0f, window->SizeContents.x - (window->SizeFull.x - window->ScrollbarSizes.x));
}
float ImGui::GetScrollMaxY()

Loading…
Cancel
Save