1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-01-18 01:06:45 +01:00

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

This commit is contained in:
omar 2017-08-08 11:15:34 +08:00
parent 0ab722c3c5
commit a1bcc8392e

View File

@ -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()