Skip to content

Commit

Permalink
Fixed GetScrollMaxX() debug left-over from 7096fd8 (#1271)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Aug 8, 2017
1 parent 0ab722c commit a1bcc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a1bcc83

Please sign in to comment.